Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001423/0.001423, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00117/0.00117, allocations: 104.5 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4686/0.4686, allocations: 43.49 MB / 360.7 MB, free: 51.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009759/0.0009759, allocations: 55.92 kB / 429.3 MB, free: 6.375 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1497, allocations: 57.76 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003171/0.153, allocations: 1.771 MB / 488.8 MB, free: 10.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.1542, allocations: 0.7807 MB / 489.6 MB, free: 9.961 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.019e-05/0.1543, allocations: 4 kB / 489.6 MB, free: 9.957 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002132/0.1545, allocations: 35.83 kB / 489.6 MB, free: 9.922 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.1547, allocations: 47.83 kB / 489.6 MB, free: 9.875 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.1549, allocations: 75.84 kB / 489.7 MB, free: 9.801 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.1551, allocations: 95.69 kB / 489.8 MB, free: 9.707 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.98e-05/0.1551, allocations: 12.2 kB / 489.8 MB, free: 9.695 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.616e-05/0.1552, allocations: 39.78 kB / 489.9 MB, free: 9.656 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.358e-05/0.1553, allocations: 35.84 kB / 489.9 MB, free: 9.621 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.1553, allocations: 7.938 kB / 489.9 MB, free: 9.613 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.089e-05/0.1554, allocations: 39.98 kB / 489.9 MB, free: 9.574 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.322e-05/0.1554, allocations: 15.92 kB / 490 MB, free: 9.559 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.61e-05/0.1555, allocations: 39.73 kB / 490 MB, free: 9.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.1557, allocations: 107.9 kB / 490.1 MB, free: 9.414 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1557, allocations: 0 / 490.1 MB, free: 9.414 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1557, allocations: 0 / 490.1 MB, free: 9.414 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.267e-06/0.1557, allocations: 0 / 490.1 MB, free: 9.414 MB / 378.7 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.000448/0.1562, allocations: 414.6 kB / 490.5 MB, free: 8.965 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/0.1562, allocations: 12.03 kB / 490.5 MB, free: 8.953 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.1562, allocations: 12.84 kB / 490.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.1564, allocations: 212 kB / 490.7 MB, free: 8.695 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.1565, allocations: 4.359 kB / 490.7 MB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.1565, allocations: 8.125 kB / 490.8 MB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.1566, allocations: 53.67 kB / 490.8 MB, free: 8.625 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.1566, allocations: 0 / 490.8 MB, free: 8.625 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.1567, allocations: 3.938 kB / 490.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-06/0.1567, allocations: 0 / 490.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.943e-05/0.1567, allocations: 31.92 kB / 490.8 MB, free: 8.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003572/0.1571, allocations: 284.8 kB / 491.1 MB, free: 8.262 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.1573, allocations: 50.69 kB / 491.2 MB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.992e-05/0.1573, allocations: 20.84 kB / 491.2 MB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.1573, allocations: 8 kB / 491.2 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.1575, allocations: 75.23 kB / 491.3 MB, free: 8.086 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.1575, allocations: 0 / 491.3 MB, free: 8.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004806/0.158, allocations: 165.4 kB / 491.4 MB, free: 7.918 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.1581, allocations: 55.34 kB / 491.5 MB, free: 7.852 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.1582, allocations: 190.1 kB / 491.7 MB, free: 7.652 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.1583, allocations: 25.7 kB / 491.7 MB, free: 7.621 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.887e-05/0.1583, allocations: 104.1 kB / 491.8 MB, free: 7.516 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.1584, allocations: 23.7 kB / 491.8 MB, free: 7.492 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.1584, allocations: 21.72 kB / 491.8 MB, free: 7.465 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1585, allocations: 330.8 kB / 492.2 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.972e-05/0.1586, allocations: 19.98 kB / 492.2 MB, free: 7.113 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.948e-05/0.1587, allocations: 37.69 kB / 492.2 MB, free: 7.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.1588, allocations: 65.64 kB / 492.3 MB, free: 7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1588, allocations: 0 / 492.3 MB, free: 7 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001673/0.1589, allocations: 93.59 kB / 492.4 MB, free: 6.902 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.159, allocations: 4 kB / 492.4 MB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-06/0.159, allocations: 0 / 492.4 MB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.006e-05/0.159, allocations: 4 kB / 492.4 MB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.817e-05/0.1591, allocations: 23.92 kB / 492.4 MB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.1591, allocations: 160 / 492.4 MB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.181e-05/0.1591, allocations: 7.938 kB / 492.4 MB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.1592, allocations: 8.016 kB / 492.4 MB, free: 6.855 MB / 378.7 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.675e-05/0.1593, allocations: 133.6 kB / 492.6 MB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.913e-05/0.1593, allocations: 7.906 kB / 492.6 MB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.18e-05/0.1593, allocations: 12.72 kB / 492.6 MB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1593, allocations: 3.984 kB / 492.6 MB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1593, allocations: 4 kB / 492.6 MB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1594, allocations: 3.938 kB / 492.6 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004376/0.1598, allocations: 391.2 kB / 493 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1598, allocations: 3.938 kB / 493 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.277e-05/0.1598, allocations: 12 kB / 493 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.1599, allocations: 4.172 kB / 493 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1599, allocations: 7.938 kB / 493 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.1599, allocations: 8.25 kB / 493 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1599, allocations: 3.984 kB / 493 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006502/0.1605, allocations: 0.7755 MB / 493.8 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.842e-05/0.1606, allocations: 93 kB / 493.9 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.1607, allocations: 4 kB / 493.9 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.617e-05/0.1607, allocations: 4 kB / 493.9 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/0.1608, allocations: 3.984 kB / 493.9 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.1608, allocations: 4 kB / 493.9 MB, free: 5.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001258/0.1609, allocations: 152.1 kB / 494 MB, free: 5.102 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1609, allocations: 0 / 494 MB, free: 5.102 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003254/0.1612, allocations: 27.89 kB / 494.1 MB, free: 5.074 MB / 378.7 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.0009862/0.1622, allocations: 472.1 kB / 494.5 MB, free: 4.652 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001581/0.1624, allocations: 67.83 kB / 494.6 MB, free: 4.586 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.1624, allocations: 0 / 494.6 MB, free: 4.586 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.666e-05/0.1625, allocations: 27.94 kB / 494.6 MB, free: 4.559 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.1628, allocations: 28.58 kB / 494.7 MB, free: 4.531 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004638/0.1633, allocations: 368 kB / 495 MB, free: 4.129 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.1636, allocations: 0.7043 MB / 495.7 MB, free: 3.398 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.178e-05/0.1637, allocations: 21.19 kB / 495.7 MB, free: 3.379 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.283e-05/0.1637, allocations: 15.42 kB / 495.8 MB, free: 3.363 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1637, allocations: 4 kB / 495.8 MB, free: 3.359 MB / 378.7 MB Notification: Performance of Templates: time 0.003895/0.1676, allocations: 1.661 MB / 497.4 MB, free: 1.703 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches