Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.0009969/0.000997, allocations: 194 kB / 18.12 MB, free: 5.363 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.391/1.391, allocations: 222.9 MB / 241.8 MB, free: 15.54 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.2188/0.2188, allocations: 44.18 MB / 336.1 MB, free: 3.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002411/0.002411, allocations: 62.81 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1532, allocations: 60.82 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003584/0.1568, allocations: 1.944 MB / 470.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.1585, allocations: 0.9861 MB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.858e-05/0.1586, allocations: 0 / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004591/0.159, allocations: 215.5 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002738/0.1593, allocations: 151.6 kB / 471.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000381/0.1597, allocations: 162.1 kB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002675/0.16, allocations: 227.3 kB / 472.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.1601, allocations: 25.67 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.1603, allocations: 107.5 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.1605, allocations: 151.5 kB / 472.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.1605, allocations: 4 kB / 472.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.1606, allocations: 59.97 kB / 472.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.353e-05/0.1607, allocations: 63.75 kB / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.511e-05/0.1608, allocations: 79.31 kB / 472.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.1611, allocations: 231.5 kB / 472.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1611, allocations: 0 / 472.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1611, allocations: 0 / 472.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.1611, allocations: 0 / 472.9 MB, free: 10.44 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007162/0.1619, allocations: 0.5526 MB / 473.5 MB, free: 9.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.1619, allocations: 8.031 kB / 473.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.609e-05/0.162, allocations: 28.66 kB / 473.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.1623, allocations: 284 kB / 473.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.1623, allocations: 4.375 kB / 473.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.1624, allocations: 12.12 kB / 473.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.1626, allocations: 111.3 kB / 473.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.1626, allocations: 3.906 kB / 473.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.1627, allocations: 4 kB / 473.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.1627, allocations: 4 kB / 473.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.1628, allocations: 43.97 kB / 473.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005717/0.1634, allocations: 480.7 kB / 474.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003809/0.1638, allocations: 117.2 kB / 474.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.1639, allocations: 53.75 kB / 474.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.1639, allocations: 4 kB / 474.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002995/0.1642, allocations: 121.1 kB / 474.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 3.467e-06/0.1642, allocations: 3.984 kB / 474.7 MB, free: 8.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.00129/0.1655, allocations: 0.489 MB / 475.2 MB, free: 7.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.1656, allocations: 77.11 kB / 475.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004025/0.166, allocations: 428.5 kB / 475.7 MB, free: 7.418 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.166, allocations: 37.69 kB / 475.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.1662, allocations: 152.5 kB / 475.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.358e-05/0.1662, allocations: 71.09 kB / 475.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.142e-05/0.1663, allocations: 41.7 kB / 476 MB, free: 7.105 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1664, allocations: 346.7 kB / 476.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.1666, allocations: 55.98 kB / 476.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.1667, allocations: 99.33 kB / 476.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.167, allocations: 155.5 kB / 476.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.167, allocations: 0 / 476.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003794/0.1674, allocations: 233.1 kB / 476.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.1674, allocations: 18.81 kB / 476.9 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1674, allocations: 3.938 kB / 476.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1675, allocations: 4 kB / 476.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.1676, allocations: 39.98 kB / 476.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.1676, allocations: 7.938 kB / 476.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.979e-05/0.1677, allocations: 11.92 kB / 476.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.1677, allocations: 8 kB / 476.9 MB, free: 6.105 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001706/0.1679, allocations: 166.3 kB / 477.1 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.789e-05/0.168, allocations: 39.56 kB / 477.1 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.244e-05/0.168, allocations: 38.62 kB / 477.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-06/0.168, allocations: 4 kB / 477.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.1681, allocations: 0 / 477.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.1681, allocations: 3.984 kB / 477.2 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009451/0.169, allocations: 0.7311 MB / 477.9 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.169, allocations: 0 / 477.9 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.15e-05/0.1691, allocations: 35.92 kB / 478 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1691, allocations: 4 kB / 478 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.1692, allocations: 8 kB / 478 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.1692, allocations: 0 / 478 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1692, allocations: 4 kB / 478 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00048/0.1697, allocations: 422 kB / 478.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.467e-05/0.1697, allocations: 100.7 kB / 478.5 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/0.1698, allocations: 11.94 kB / 478.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.1699, allocations: 15.98 kB / 478.5 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.911e-05/0.17, allocations: 15.92 kB / 478.5 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/0.17, allocations: 19.98 kB / 478.5 MB, free: 4.375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003668/0.1704, allocations: 315 kB / 478.9 MB, free: 4.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1704, allocations: 0 / 478.9 MB, free: 4.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00035/0.1708, allocations: 47.98 kB / 478.9 MB, free: 4.023 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001213/0.172, allocations: 0.5155 MB / 479.4 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003438/0.1723, allocations: 155.8 kB / 479.6 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1724, allocations: 0 / 479.6 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.1725, allocations: 79.84 kB / 479.6 MB, free: 3.484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005553/0.1731, allocations: 60.98 kB / 479.7 MB, free: 3.418 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008662/0.1739, allocations: 0.6197 MB / 480.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.1743, allocations: 0.7755 MB / 481.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.1744, allocations: 45.89 kB / 481.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.208e-05/0.1745, allocations: 31.42 kB / 481.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of SimCode: time 1.8e-07/0.1745, allocations: 0 / 481.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of Templates: time 0.006569/0.1811, allocations: 2.977 MB / 484.2 MB, free: 14.93 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches