Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 115.8 kB / 17.08 MB, free: 5.938 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.0009449/0.000945, allocations: 200.2 kB / 18.02 MB, free: 5.027 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.302/1.302, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.2177/0.2177, allocations: 43.52 MB / 314.8 MB, free: 468 kB / 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.001649/0.001649, allocations: 69.47 kB / 442.5 MB, free: 5.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1498, allocations: 57.79 MB / 0.4886 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003755/0.1536, allocations: 1.7 MB / 0.4903 GB, free: 10 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002451/0.1561, allocations: 1.406 MB / 0.4916 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.1562, allocations: 0 / 0.4916 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003993/0.1566, allocations: 47.7 kB / 0.4917 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003644/0.157, allocations: 55.77 kB / 0.4917 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003703/0.1574, allocations: 95.62 kB / 0.4918 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.1577, allocations: 95.75 kB / 0.4919 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.1578, allocations: 20.2 kB / 0.4919 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.1579, allocations: 39.8 kB / 0.492 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.1581, allocations: 43.83 kB / 0.492 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.1581, allocations: 4 kB / 0.492 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002015/0.1583, allocations: 55.98 kB / 0.4921 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.1584, allocations: 19.91 kB / 0.4921 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.629e-05/0.1585, allocations: 31.8 kB / 0.4921 GB, free: 8.086 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003149/0.1588, allocations: 119.6 kB / 0.4922 GB, free: 7.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.1588, allocations: 0 / 0.4922 GB, free: 7.969 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1588, allocations: 0 / 0.4922 GB, free: 7.969 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.1589, allocations: 4 kB / 0.4922 GB, free: 7.965 MB / 382.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.0006789/0.1596, allocations: 407 kB / 0.4926 GB, free: 7.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.1596, allocations: 11.89 kB / 0.4926 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.641e-05/0.1597, allocations: 8.844 kB / 0.4927 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004223/0.1601, allocations: 207.8 kB / 0.4929 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.1602, allocations: 4.375 kB / 0.4929 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.1602, allocations: 8.125 kB / 0.4929 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.1604, allocations: 71.33 kB / 0.4929 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.1604, allocations: 0 / 0.4929 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.1604, allocations: 4 kB / 0.4929 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.1605, allocations: 0 / 0.4929 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.689e-05/0.1605, allocations: 15.98 kB / 0.493 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004495/0.161, allocations: 288.7 kB / 0.4932 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.1612, allocations: 66.61 kB / 0.4933 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.618e-05/0.1613, allocations: 24.84 kB / 0.4933 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.1613, allocations: 4 kB / 0.4933 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/0.1615, allocations: 63.39 kB / 0.4934 GB, free: 6.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.707e-06/0.1615, allocations: 3.984 kB / 0.4934 GB, free: 6.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005723/0.1621, allocations: 169.3 kB / 0.4935 GB, free: 6.461 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.676e-05/0.1621, allocations: 81.09 kB / 0.4936 GB, free: 6.363 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.1623, allocations: 149.8 kB / 0.4938 GB, free: 6.207 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.2e-05/0.1624, allocations: 25.7 kB / 0.4938 GB, free: 6.176 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.064e-05/0.1624, allocations: 96.12 kB / 0.4939 GB, free: 6.078 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.473e-05/0.1625, allocations: 23.66 kB / 0.4939 GB, free: 6.055 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/0.1625, allocations: 29.7 kB / 0.4939 GB, free: 6.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1627, allocations: 326.8 kB / 0.4942 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.729e-05/0.1627, allocations: 19.94 kB / 0.4943 GB, free: 5.672 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.967e-05/0.1628, allocations: 50.48 kB / 0.4943 GB, free: 5.613 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.1629, allocations: 57.7 kB / 0.4944 GB, free: 5.551 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.163, allocations: 4 kB / 0.4944 GB, free: 5.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001841/0.1631, allocations: 93.53 kB / 0.4945 GB, free: 5.449 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1632, allocations: 7.984 kB / 0.4945 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.1632, allocations: 4.062 kB / 0.4945 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.1632, allocations: 4 kB / 0.4945 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.807e-05/0.1633, allocations: 16 kB / 0.4945 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1633, allocations: 0 / 0.4945 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.05e-05/0.1634, allocations: 7.938 kB / 0.4945 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.1634, allocations: 3.984 kB / 0.4945 GB, free: 5.406 MB / 382.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.0001049/0.1635, allocations: 125.7 kB / 0.4946 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.1635, allocations: 11.81 kB / 0.4946 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.037e-05/0.1636, allocations: 20.66 kB / 0.4946 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.1636, allocations: 3.984 kB / 0.4947 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1636, allocations: 0 / 0.4947 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1636, allocations: 7.938 kB / 0.4947 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.164, allocations: 383.3 kB / 0.495 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1641, allocations: 4 kB / 0.495 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/0.1641, allocations: 8 kB / 0.495 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1641, allocations: 0 / 0.495 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.1641, allocations: 11.92 kB / 0.495 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1641, allocations: 4.406 kB / 0.4951 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.1641, allocations: 4 kB / 0.4951 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.1644, allocations: 192.2 kB / 0.4952 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.1644, allocations: 89.02 kB / 0.4953 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.1645, allocations: 11.94 kB / 0.4953 GB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.005e-05/0.1646, allocations: 3.984 kB / 0.4953 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.1646, allocations: 8 kB / 0.4953 GB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.1646, allocations: 4 kB / 0.4954 GB, free: 4.422 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.778e-05/0.1647, allocations: 118.5 kB / 0.4955 GB, free: 4.309 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1647, allocations: 0 / 0.4955 GB, free: 4.309 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.165, allocations: 35.98 kB / 0.4955 GB, free: 4.273 MB / 382.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.001178/0.1662, allocations: 0.4978 MB / 0.496 GB, free: 3.816 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002077/0.1664, allocations: 59.91 kB / 0.496 GB, free: 3.758 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1664, allocations: 0 / 0.496 GB, free: 3.758 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.406e-05/0.1665, allocations: 32 kB / 0.4961 GB, free: 3.727 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.1669, allocations: 35.77 kB / 0.4961 GB, free: 3.691 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004482/0.1673, allocations: 220.5 kB / 0.4963 GB, free: 3.441 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.1676, allocations: 0.6924 MB / 0.497 GB, free: 2.723 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.53e-05/0.1677, allocations: 19.42 kB / 0.497 GB, free: 2.703 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1677, allocations: 8 kB / 0.497 GB, free: 2.695 MB / 382.1 MB Notification: Performance of Templates: time 0.004474/0.1722, allocations: 2.051 MB / 0.499 GB, free: 0.6484 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches