Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001107/0.001107, allocations: 122.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001354/0.001354, allocations: 206 kB / 18.74 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2209/0.2209, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 79.86 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3608, allocations: 62.44 MB / 0.5306 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003026/0.3639, allocations: 1.726 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.3656, allocations: 1.017 MB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.836e-05/0.3657, allocations: 1.281 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.366, allocations: 42.58 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.3663, allocations: 91.62 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.3665, allocations: 82.81 kB / 0.5335 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.3667, allocations: 105.3 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.3668, allocations: 15.66 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.623e-05/0.3669, allocations: 44.34 kB / 0.5337 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.556e-05/0.367, allocations: 37.78 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.367, allocations: 3.906 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.112e-05/0.3671, allocations: 39.58 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.678e-05/0.3672, allocations: 23.66 kB / 0.5338 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.515e-05/0.3672, allocations: 39.36 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.3675, allocations: 118.3 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3675, allocations: 0 / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3675, allocations: 0 / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.3675, allocations: 4 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005631/0.3681, allocations: 428.9 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.3681, allocations: 9.438 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.267e-05/0.3682, allocations: 35.77 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.576e-05/0.3682, allocations: 10.08 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.3685, allocations: 225.3 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.3685, allocations: 1.688 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.3685, allocations: 6.75 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.3687, allocations: 57.2 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.3687, allocations: 1.375 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.3687, allocations: 0 / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.3688, allocations: 5.312 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.3689, allocations: 17.61 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004526/0.3693, allocations: 290.8 kB / 0.5349 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.3695, allocations: 57.92 kB / 0.535 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.322e-05/0.3696, allocations: 26.42 kB / 0.535 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.3696, allocations: 1.375 kB / 0.535 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001399/0.3697, allocations: 65.12 kB / 0.5351 GB, free: 9.641 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.3698, allocations: 0 / 0.5351 GB, free: 9.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000526/0.3703, allocations: 174.4 kB / 0.5353 GB, free: 9.539 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.3703, allocations: 56.78 kB / 0.5353 GB, free: 9.473 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.3705, allocations: 196 kB / 0.5355 GB, free: 9.328 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.3706, allocations: 31.08 kB / 0.5355 GB, free: 9.293 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.3706, allocations: 100.2 kB / 0.5356 GB, free: 9.195 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.3707, allocations: 31.89 kB / 0.5357 GB, free: 9.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.3707, allocations: 20.59 kB / 0.5357 GB, free: 9.148 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3709, allocations: 327 kB / 0.536 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.484e-05/0.3709, allocations: 22.98 kB / 0.536 GB, free: 8.812 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.084e-05/0.371, allocations: 39.39 kB / 0.536 GB, free: 8.781 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.3711, allocations: 62.39 kB / 0.5361 GB, free: 8.738 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3711, allocations: 0 / 0.5361 GB, free: 8.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001771/0.3713, allocations: 100.2 kB / 0.5362 GB, free: 8.676 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3713, allocations: 9.469 kB / 0.5362 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3713, allocations: 0 / 0.5362 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.3714, allocations: 5.094 kB / 0.5362 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.645e-05/0.3715, allocations: 20.86 kB / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.3715, allocations: 1.031 kB / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.579e-05/0.3715, allocations: 6.062 kB / 0.5362 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.3715, allocations: 3.906 kB / 0.5362 GB, free: 8.656 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.857e-05/0.3716, allocations: 128.6 kB / 0.5364 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.3717, allocations: 13.22 kB / 0.5364 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.502e-05/0.3717, allocations: 15.56 kB / 0.5364 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3717, allocations: 5.125 kB / 0.5364 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.3717, allocations: 7.938 kB / 0.5364 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3718, allocations: 7.922 kB / 0.5364 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005381/0.3723, allocations: 391 kB / 0.5368 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3723, allocations: 1.094 kB / 0.5368 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.436e-05/0.3723, allocations: 11.12 kB / 0.5368 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.3724, allocations: 5 kB / 0.5368 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.3724, allocations: 5.734 kB / 0.5368 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.3724, allocations: 0.9688 kB / 0.5368 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3724, allocations: 4.812 kB / 0.5368 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.3726, allocations: 196.2 kB / 0.537 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.3727, allocations: 88.33 kB / 0.5371 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.3727, allocations: 6.344 kB / 0.5371 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.353e-05/0.3728, allocations: 12.94 kB / 0.5371 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.3728, allocations: 11.41 kB / 0.5371 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.3729, allocations: 3.562 kB / 0.5371 GB, free: 7.801 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000125/0.373, allocations: 149 kB / 0.5373 GB, free: 7.695 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.373, allocations: 0 / 0.5373 GB, free: 7.695 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.3732, allocations: 24.81 kB / 0.5373 GB, free: 7.688 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001444/0.3747, allocations: 1.091 MB / 0.5383 GB, free: 6.836 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001873/0.3749, allocations: 61.78 kB / 0.5384 GB, free: 6.809 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3749, allocations: 64 / 0.5384 GB, free: 6.809 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.281e-05/0.375, allocations: 29.62 kB / 0.5384 GB, free: 6.797 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.3753, allocations: 32.66 kB / 0.5385 GB, free: 6.781 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.3774, allocations: 1.66 MB / 0.5401 GB, free: 5.328 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.3778, allocations: 0.7096 MB / 0.5408 GB, free: 4.613 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.396e-05/0.3779, allocations: 13.69 kB / 0.5408 GB, free: 4.609 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.041e-05/0.3779, allocations: 35.64 kB / 0.5408 GB, free: 4.582 MB / 398.1 MB Notification: Performance of SimCode: time 1.993e-06/0.3779, allocations: 0 / 0.5408 GB, free: 4.582 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02044/0.3984, allocations: 3.449 MB / 0.5442 GB, free: 2.727 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.9/8.298, allocations: 13.67 kB / 0.5442 GB, free: 2.715 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches