Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,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.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,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.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 103.8 kB / 15.98 MB, free: 6.352 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.001111/0.001111, allocations: 192.5 kB / 16.91 MB, free: 6.191 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.936/1.936, allocations: 205.1 MB / 222.8 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4849/0.4849, allocations: 43.5 MB / 313.6 MB, free: 8.5 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.001398/0.001398, allocations: 71.12 kB / 382.2 MB, free: 8.598 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.157, allocations: 57.79 MB / 440 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003717/0.1608, allocations: 1.749 MB / 441.8 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002605/0.1634, allocations: 1.375 MB / 443.1 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.1635, allocations: 4 kB / 443.1 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004103/0.164, allocations: 31.89 kB / 443.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002706/0.1643, allocations: 55.72 kB / 443.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.1645, allocations: 79.83 kB / 443.3 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.1648, allocations: 91.77 kB / 443.4 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.1649, allocations: 12.22 kB / 443.4 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.165, allocations: 43.77 kB / 443.5 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.1653, allocations: 39.84 kB / 443.5 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.1653, allocations: 4 kB / 443.5 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.1655, allocations: 67.84 kB / 443.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.362e-05/0.1655, allocations: 19.92 kB / 443.6 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.114e-05/0.1656, allocations: 31.8 kB / 443.6 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.1659, allocations: 127.9 kB / 443.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1659, allocations: 0 / 443.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1659, allocations: 0 / 443.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.708e-05/0.1659, allocations: 0 / 443.7 MB, free: 10.96 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.0006893/0.1666, allocations: 399.1 kB / 444.1 MB, free: 10.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.1667, allocations: 11.89 kB / 444.1 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.516e-05/0.1667, allocations: 8.844 kB / 444.1 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.167, allocations: 219.5 kB / 444.4 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.167, allocations: 384 / 444.4 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.1671, allocations: 12.06 kB / 444.4 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.1673, allocations: 67.38 kB / 444.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1673, allocations: 0 / 444.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.1673, allocations: 4 kB / 444.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1673, allocations: 0 / 444.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.03e-05/0.1674, allocations: 19.98 kB / 444.5 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004481/0.1679, allocations: 292.7 kB / 444.7 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.1681, allocations: 54.69 kB / 444.8 MB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.762e-05/0.1681, allocations: 20.84 kB / 444.8 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.1682, allocations: 0 / 444.8 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002413/0.1684, allocations: 75.33 kB / 444.9 MB, free: 9.633 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1684, allocations: 0 / 444.9 MB, free: 9.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006468/0.1691, allocations: 177.3 kB / 445.1 MB, free: 9.453 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.779e-05/0.1692, allocations: 81.05 kB / 445.1 MB, free: 9.355 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.1693, allocations: 145.8 kB / 445.3 MB, free: 9.203 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.1693, allocations: 29.69 kB / 445.3 MB, free: 9.168 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.749e-05/0.1694, allocations: 96.14 kB / 445.4 MB, free: 9.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.1695, allocations: 31.64 kB / 445.4 MB, free: 9.039 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.1695, allocations: 25.72 kB / 445.5 MB, free: 9.008 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1696, allocations: 326.8 kB / 445.8 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.554e-05/0.1697, allocations: 19.98 kB / 445.8 MB, free: 8.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.238e-05/0.1698, allocations: 42.56 kB / 445.8 MB, free: 8.609 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.1699, allocations: 57.69 kB / 445.9 MB, free: 8.547 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1699, allocations: 0 / 445.9 MB, free: 8.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001838/0.1701, allocations: 105.6 kB / 446 MB, free: 8.438 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1701, allocations: 4.188 kB / 446 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1701, allocations: 0 / 446 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1701, allocations: 3.938 kB / 446 MB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.576e-05/0.1702, allocations: 23.92 kB / 446 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.1702, allocations: 0 / 446 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.662e-05/0.1703, allocations: 7.938 kB / 446 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.1703, allocations: 0 / 446 MB, free: 8.398 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.0001011/0.1704, allocations: 125.9 kB / 446.2 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.1704, allocations: 11.81 kB / 446.2 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.367e-05/0.1705, allocations: 16.7 kB / 446.2 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1705, allocations: 3.984 kB / 446.2 MB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.1705, allocations: 3.938 kB / 446.2 MB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.1705, allocations: 3.938 kB / 446.2 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004634/0.171, allocations: 391.3 kB / 446.6 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.171, allocations: 0 / 446.6 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.164e-05/0.1711, allocations: 11.98 kB / 446.6 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.1711, allocations: 4 kB / 446.6 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.1711, allocations: 3.938 kB / 446.6 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1711, allocations: 3.938 kB / 446.6 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1711, allocations: 0 / 446.6 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.1714, allocations: 204.3 kB / 446.8 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-05/0.1715, allocations: 85.02 kB / 446.9 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.1715, allocations: 7.922 kB / 446.9 MB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.885e-05/0.1716, allocations: 4 kB / 446.9 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.1717, allocations: 8 kB / 446.9 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.1717, allocations: 8.359 kB / 446.9 MB, free: 7.414 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.828e-05/0.1718, allocations: 114.5 kB / 447 MB, free: 7.305 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1718, allocations: 0 / 447 MB, free: 7.305 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.1721, allocations: 31.98 kB / 447.1 MB, free: 7.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.001202/0.1733, allocations: 0.5083 MB / 447.6 MB, free: 6.797 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002142/0.1735, allocations: 67.89 kB / 447.6 MB, free: 6.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1735, allocations: 0 / 447.6 MB, free: 6.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.777e-05/0.1736, allocations: 31.98 kB / 447.7 MB, free: 6.699 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.1739, allocations: 23.84 kB / 447.7 MB, free: 6.676 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004391/0.1744, allocations: 211 kB / 447.9 MB, free: 6.438 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.1747, allocations: 0.7039 MB / 448.6 MB, free: 5.707 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.543e-05/0.1748, allocations: 21.17 kB / 448.6 MB, free: 5.688 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.714e-05/0.1749, allocations: 19.42 kB / 448.6 MB, free: 5.672 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1749, allocations: 0 / 448.6 MB, free: 5.672 MB / 382.1 MB Notification: Performance of Templates: time 0.005697/0.1806, allocations: 1.928 MB / 450.6 MB, free: 3.746 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches