Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2511/0.2511, allocations: 44.18 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 67.19 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1459, allocations: 60.83 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.00346/0.1494, allocations: 1.7 MB / 471.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.151, allocations: 0.8808 MB / 471.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.837e-05/0.1511, allocations: 0 / 471.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003505/0.1514, allocations: 43.83 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.1517, allocations: 63.67 kB / 472.1 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/0.152, allocations: 114.7 kB / 472.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.1522, allocations: 91.7 kB / 472.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.1523, allocations: 20.2 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.315e-05/0.1524, allocations: 43.78 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.144e-05/0.1525, allocations: 23.86 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.1525, allocations: 4 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.1527, allocations: 43.98 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.882e-05/0.1527, allocations: 23.91 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.4e-05/0.1528, allocations: 31.75 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.153, allocations: 131.8 kB / 472.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.153, allocations: 0 / 472.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.153, allocations: 4 kB / 472.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.922e-06/0.1531, allocations: 0 / 472.6 MB, free: 11.06 MB / 350.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.0006277/0.1537, allocations: 418.9 kB / 473 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/0.1538, allocations: 12.03 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.007e-05/0.1538, allocations: 30.75 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.639e-05/0.1539, allocations: 12.75 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.1541, allocations: 220 kB / 473.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.1542, allocations: 384 / 473.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.1542, allocations: 3.938 kB / 473.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.1544, allocations: 65.61 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.1544, allocations: 0 / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1544, allocations: 0 / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.1544, allocations: 0 / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.195e-05/0.1545, allocations: 19.98 kB / 473.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/0.1549, allocations: 296.7 kB / 473.6 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.1551, allocations: 58.61 kB / 473.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.821e-05/0.1552, allocations: 28.84 kB / 473.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.1552, allocations: 0 / 473.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002324/0.1555, allocations: 59.39 kB / 473.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1555, allocations: 0 / 473.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006087/0.1561, allocations: 189.2 kB / 474 MB, free: 9.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.1561, allocations: 51.41 kB / 474 MB, free: 9.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.1564, allocations: 230.5 kB / 474.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.1564, allocations: 29.7 kB / 474.3 MB, free: 9.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.128e-05/0.1565, allocations: 104.1 kB / 474.4 MB, free: 9.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.148e-05/0.1566, allocations: 31.62 kB / 474.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.1566, allocations: 21.72 kB / 474.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.1568, allocations: 326.8 kB / 474.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.641e-05/0.1569, allocations: 20 kB / 474.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.858e-05/0.1569, allocations: 45.58 kB / 474.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.157, allocations: 57.7 kB / 474.9 MB, free: 8.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1571, allocations: 0 / 474.9 MB, free: 8.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001898/0.1573, allocations: 97.53 kB / 474.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1573, allocations: 4 kB / 475 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1573, allocations: 4.031 kB / 475 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.1573, allocations: 7.984 kB / 475 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.703e-05/0.1574, allocations: 12 kB / 475 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1574, allocations: 0 / 475 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.152e-05/0.1575, allocations: 11.94 kB / 475 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.118e-06/0.1575, allocations: 0 / 475 MB, free: 8.391 MB / 350.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 0.0001264/0.1576, allocations: 134.8 kB / 475.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.1577, allocations: 19.81 kB / 475.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.562e-05/0.1577, allocations: 21.39 kB / 475.2 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1578, allocations: 4 kB / 475.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1578, allocations: 0 / 475.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.1578, allocations: 7.922 kB / 475.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004625/0.1582, allocations: 395.3 kB / 475.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1583, allocations: 0 / 475.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.038e-05/0.1583, allocations: 8 kB / 475.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.1583, allocations: 7.938 kB / 475.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.1583, allocations: 0 / 475.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1583, allocations: 4.031 kB / 475.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1583, allocations: 0 / 475.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.1586, allocations: 212.1 kB / 475.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.945e-05/0.1587, allocations: 85 kB / 475.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.1587, allocations: 7.938 kB / 475.9 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.847e-05/0.1588, allocations: 4.375 kB / 475.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.1588, allocations: 11.98 kB / 475.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.1588, allocations: 4 kB / 475.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001607/0.159, allocations: 171.2 kB / 476.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.159, allocations: 0 / 476.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.1593, allocations: 23.98 kB / 476.1 MB, free: 7.188 MB / 350.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.001574/0.1609, allocations: 1.105 MB / 477.2 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002065/0.1611, allocations: 63.91 kB / 477.3 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1611, allocations: 4.062 kB / 477.3 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.223e-05/0.1612, allocations: 27.98 kB / 477.3 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.1615, allocations: 23.98 kB / 477.3 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.1634, allocations: 1.715 MB / 479 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.1637, allocations: 0.7119 MB / 479.7 MB, free: 3.582 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.419e-05/0.1638, allocations: 13.2 kB / 479.7 MB, free: 3.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.743e-05/0.1639, allocations: 39.41 kB / 479.8 MB, free: 3.531 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1639, allocations: 0 / 479.8 MB, free: 3.531 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.1877, allocations: 3.465 MB / 483.3 MB, free: 152 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.397/7.585, allocations: 0 / 483.3 MB, free: 152 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_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_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches