Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009986/0.0009986, 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.412/1.412, allocations: 205.1 MB / 222.5 MB, free: 8.477 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.001021/0.001021, allocations: 98.28 kB / 269.9 MB, free: 8.441 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.4042/0.4042, allocations: 43.5 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 59.92 kB / 429.3 MB, free: 6.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1485, allocations: 57.76 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.004139/0.1527, allocations: 1.764 MB / 488.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.1544, allocations: 0.7884 MB / 489.6 MB, free: 9.973 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.1546, allocations: 4 kB / 489.6 MB, free: 9.969 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003707/0.155, allocations: 27.91 kB / 489.6 MB, free: 9.941 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002615/0.1553, allocations: 51.77 kB / 489.6 MB, free: 9.891 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003374/0.1556, allocations: 75.78 kB / 489.7 MB, free: 9.816 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.1558, allocations: 91.7 kB / 489.8 MB, free: 9.727 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.156, allocations: 20.19 kB / 489.8 MB, free: 9.707 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.1561, allocations: 35.8 kB / 489.9 MB, free: 9.672 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.407e-05/0.1562, allocations: 31.84 kB / 489.9 MB, free: 9.641 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.1562, allocations: 4 kB / 489.9 MB, free: 9.637 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.1564, allocations: 39.98 kB / 489.9 MB, free: 9.598 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.69e-05/0.1565, allocations: 15.92 kB / 490 MB, free: 9.582 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.109e-05/0.1566, allocations: 35.73 kB / 490 MB, free: 9.547 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.1568, allocations: 99.92 kB / 490.1 MB, free: 9.449 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.1568, allocations: 8 kB / 490.1 MB, free: 9.441 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1568, allocations: 0 / 490.1 MB, free: 9.441 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1568, allocations: 0 / 490.1 MB, free: 9.441 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.0006128/0.1574, allocations: 399.1 kB / 490.5 MB, free: 9.004 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.1575, allocations: 12.03 kB / 490.5 MB, free: 8.992 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.905e-05/0.1576, allocations: 12.83 kB / 490.5 MB, free: 8.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.1578, allocations: 196.7 kB / 490.7 MB, free: 8.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.1579, allocations: 7.875 kB / 490.7 MB, free: 8.742 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.1579, allocations: 4 kB / 490.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.1581, allocations: 57.61 kB / 490.8 MB, free: 8.676 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1581, allocations: 0 / 490.8 MB, free: 8.676 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.1581, allocations: 3.984 kB / 490.8 MB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.1581, allocations: 4 kB / 490.8 MB, free: 8.668 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.423e-05/0.1582, allocations: 23.92 kB / 490.8 MB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000434/0.1586, allocations: 280.8 kB / 491.1 MB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.1588, allocations: 62.61 kB / 491.1 MB, free: 8.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.504e-05/0.1589, allocations: 20.84 kB / 491.2 MB, free: 8.227 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.1589, allocations: 4 kB / 491.2 MB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002697/0.1592, allocations: 67.39 kB / 491.2 MB, free: 8.145 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.1592, allocations: 0 / 491.2 MB, free: 8.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005817/0.1598, allocations: 177.2 kB / 491.4 MB, free: 7.965 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.1599, allocations: 55.34 kB / 491.5 MB, free: 7.898 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.16, allocations: 162.4 kB / 491.6 MB, free: 7.727 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.1601, allocations: 25.7 kB / 491.6 MB, free: 7.695 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.708e-05/0.1602, allocations: 100.1 kB / 491.7 MB, free: 7.594 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.1602, allocations: 27.64 kB / 491.8 MB, free: 7.566 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.1602, allocations: 17.72 kB / 491.8 MB, free: 7.543 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1604, allocations: 322.8 kB / 492.1 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.251e-05/0.1605, allocations: 27.92 kB / 492.1 MB, free: 7.191 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.812e-05/0.1605, allocations: 33.7 kB / 492.2 MB, free: 7.152 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.1607, allocations: 57.72 kB / 492.2 MB, free: 7.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1607, allocations: 0 / 492.2 MB, free: 7.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002026/0.1609, allocations: 109.6 kB / 492.3 MB, free: 6.977 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1609, allocations: 4 kB / 492.3 MB, free: 6.973 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.1609, allocations: 4 kB / 492.3 MB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.1609, allocations: 3.938 kB / 492.3 MB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.565e-05/0.161, allocations: 15.98 kB / 492.3 MB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.161, allocations: 0 / 492.3 MB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.887e-05/0.1611, allocations: 8.031 kB / 492.3 MB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.1611, allocations: 8 kB / 492.4 MB, free: 6.934 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.916e-05/0.1612, allocations: 117.8 kB / 492.5 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.1613, allocations: 19.8 kB / 492.5 MB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.51e-05/0.1613, allocations: 16.66 kB / 492.5 MB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1613, allocations: 3.938 kB / 492.5 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.1614, allocations: 0 / 492.5 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1614, allocations: 0 / 492.5 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004672/0.1618, allocations: 391.3 kB / 492.9 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1618, allocations: 0 / 492.9 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.221e-05/0.1619, allocations: 8 kB / 492.9 MB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-06/0.1619, allocations: 8.156 kB / 492.9 MB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/0.1619, allocations: 4 kB / 492.9 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1619, allocations: 3.938 kB / 492.9 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.162, allocations: 0 / 492.9 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006224/0.1626, allocations: 0.7793 MB / 493.7 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.949e-05/0.1627, allocations: 85.02 kB / 493.8 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.1627, allocations: 8 kB / 493.8 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.365e-05/0.1628, allocations: 384 / 493.8 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.1628, allocations: 11.92 kB / 493.8 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.1629, allocations: 4 kB / 493.8 MB, free: 5.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001/0.163, allocations: 135.9 kB / 493.9 MB, free: 5.207 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.163, allocations: 0 / 493.9 MB, free: 5.207 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003501/0.1633, allocations: 27.98 kB / 494 MB, free: 5.18 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.001298/0.1646, allocations: 468 kB / 494.4 MB, free: 4.766 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002272/0.1649, allocations: 59.92 kB / 494.5 MB, free: 4.707 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1649, allocations: 0 / 494.5 MB, free: 4.707 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.823e-05/0.165, allocations: 23.98 kB / 494.5 MB, free: 4.684 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/0.1654, allocations: 32.22 kB / 494.5 MB, free: 4.652 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005549/0.166, allocations: 351.6 kB / 494.9 MB, free: 4.266 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.1663, allocations: 0.6965 MB / 495.6 MB, free: 3.543 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.516e-05/0.1664, allocations: 24.86 kB / 495.6 MB, free: 3.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.1665, allocations: 15.44 kB / 495.6 MB, free: 3.508 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1665, allocations: 0 / 495.6 MB, free: 3.508 MB / 378.7 MB Notification: Performance of Templates: time 0.004584/0.1711, allocations: 1.653 MB / 497.3 MB, free: 1.863 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches