Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33",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.001603/0.001603, allocations: 102.2 kB / 16.27 MB, free: 5.93 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.001827/0.001827, allocations: 194 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2724/0.2724, allocations: 43.53 MB / 313.9 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 68.41 kB / 382.8 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1547, allocations: 57.79 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003077/0.1578, allocations: 1.693 MB / 442.3 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.1591, allocations: 0.7961 MB / 443.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.676e-05/0.1592, allocations: 4 kB / 443.1 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004421/0.1597, allocations: 43.75 kB / 443.2 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.1599, allocations: 55.77 kB / 443.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.1602, allocations: 83.75 kB / 443.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.1604, allocations: 95.7 kB / 443.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.1605, allocations: 12.17 kB / 443.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.995e-05/0.1606, allocations: 35.8 kB / 443.4 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.304e-05/0.1607, allocations: 39.84 kB / 443.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.1608, allocations: 0 / 443.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.1609, allocations: 43.92 kB / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.94e-05/0.161, allocations: 23.91 kB / 443.5 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.425e-05/0.1611, allocations: 35.73 kB / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.1613, allocations: 107.7 kB / 443.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.1613, allocations: 3.984 kB / 443.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1614, allocations: 0 / 443.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.1614, allocations: 0 / 443.7 MB, free: 3.715 MB / 318.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.0005384/0.1619, allocations: 407 kB / 444.1 MB, free: 3.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.162, allocations: 19.89 kB / 444.1 MB, free: 3.25 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.162, allocations: 38.67 kB / 444.1 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.162, allocations: 8.844 kB / 444.2 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.1622, allocations: 205 kB / 444.4 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.1623, allocations: 384 / 444.4 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.1623, allocations: 11.92 kB / 444.4 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.1624, allocations: 57.66 kB / 444.4 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.1625, allocations: 0 / 444.4 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.1625, allocations: 0 / 444.4 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1625, allocations: 4 kB / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.747e-05/0.1626, allocations: 23.92 kB / 444.5 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.1629, allocations: 288.8 kB / 444.7 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.1631, allocations: 54.69 kB / 444.8 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.331e-05/0.1632, allocations: 24.78 kB / 444.8 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.1632, allocations: 7.938 kB / 444.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001993/0.1634, allocations: 71.33 kB / 444.9 MB, free: 2.344 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.1634, allocations: 0 / 444.9 MB, free: 2.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005308/0.164, allocations: 177.3 kB / 445.1 MB, free: 2.164 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.164, allocations: 51.41 kB / 445.1 MB, free: 2.102 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.1642, allocations: 198 kB / 445.3 MB, free: 1.898 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.1642, allocations: 33.7 kB / 445.3 MB, free: 1.859 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.583e-05/0.1642, allocations: 96.14 kB / 445.4 MB, free: 1.762 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.1643, allocations: 23.7 kB / 445.5 MB, free: 1.738 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.1643, allocations: 21.72 kB / 445.5 MB, free: 1.711 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.827e-05/0.1644, allocations: 322.8 kB / 445.8 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.366e-05/0.1644, allocations: 19.98 kB / 445.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.931e-05/0.1645, allocations: 37.7 kB / 445.8 MB, free: 1.324 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.1646, allocations: 65.72 kB / 445.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1646, allocations: 0 / 445.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001579/0.1648, allocations: 101.6 kB / 446 MB, free: 1.148 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1648, allocations: 4 kB / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1648, allocations: 0 / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.1648, allocations: 0 / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.1649, allocations: 23.92 kB / 446 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1649, allocations: 0 / 446 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.547e-05/0.165, allocations: 11.97 kB / 446.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.165, allocations: 4 kB / 446.1 MB, free: 1.105 MB / 318.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.435e-05/0.1651, allocations: 129.7 kB / 446.2 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.1651, allocations: 15.81 kB / 446.2 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.054e-05/0.1652, allocations: 12.72 kB / 446.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1652, allocations: 3.984 kB / 446.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1652, allocations: 0 / 446.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.1652, allocations: 3.938 kB / 446.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004125/0.1656, allocations: 395.3 kB / 446.6 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1657, allocations: 0 / 446.6 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.039e-05/0.1657, allocations: 8 kB / 446.6 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1657, allocations: 3.938 kB / 446.6 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.1657, allocations: 7.938 kB / 446.6 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1657, allocations: 0 / 446.6 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.1657, allocations: 4.172 kB / 446.6 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.1659, allocations: 204.3 kB / 446.8 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.223e-05/0.166, allocations: 92.86 kB / 446.9 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.166, allocations: 7.938 kB / 446.9 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.693e-05/0.1661, allocations: 4 kB / 446.9 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.1661, allocations: 7.984 kB / 446.9 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.1661, allocations: 4 kB / 446.9 MB, free: 108 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001225/0.1663, allocations: 139.2 kB / 447.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1663, allocations: 4 kB / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.1665, allocations: 20 kB / 447.1 MB, free: 15.95 MB / 334.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.001702/0.1682, allocations: 1.105 MB / 448.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.1685, allocations: 67.89 kB / 448.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1685, allocations: 0 / 448.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.462e-05/0.1685, allocations: 27.92 kB / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.1689, allocations: 31.33 kB / 448.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002534/0.1715, allocations: 1.631 MB / 450 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/0.1719, allocations: 0.7079 MB / 450.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.064e-05/0.172, allocations: 8.891 kB / 450.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.4e-05/0.1721, allocations: 35.42 kB / 450.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1721, allocations: 3.938 kB / 450.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.1971, allocations: 3.296 MB / 454 MB, free: 8.953 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.746/7.943, allocations: 8 kB / 454 MB, free: 8.945 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches