Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001385/0.001385, 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.494/1.494, allocations: 205.1 MB / 222.4 MB, free: 8.484 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.0009203/0.0009201, allocations: 95.94 kB / 269.9 MB, free: 8.438 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.4264/0.4264, allocations: 43.5 MB / 360.7 MB, free: 51.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001061/0.001061, allocations: 51.92 kB / 429.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1443, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.004517/0.1489, allocations: 1.767 MB / 488.8 MB, free: 10.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.1506, allocations: 0.7807 MB / 489.6 MB, free: 9.965 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.1507, allocations: 3.938 kB / 489.6 MB, free: 9.961 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003672/0.1511, allocations: 31.89 kB / 489.6 MB, free: 9.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002534/0.1514, allocations: 55.7 kB / 489.7 MB, free: 9.875 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003712/0.1518, allocations: 75.84 kB / 489.7 MB, free: 9.801 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.152, allocations: 83.77 kB / 489.8 MB, free: 9.719 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.1522, allocations: 16.22 kB / 489.8 MB, free: 9.703 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.1523, allocations: 35.8 kB / 489.9 MB, free: 9.668 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.1524, allocations: 39.77 kB / 489.9 MB, free: 9.629 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.1525, allocations: 0 / 489.9 MB, free: 9.629 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001656/0.1526, allocations: 39.98 kB / 489.9 MB, free: 9.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.974e-05/0.1527, allocations: 23.91 kB / 490 MB, free: 9.566 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.337e-05/0.1528, allocations: 23.81 kB / 490 MB, free: 9.543 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.1531, allocations: 107.9 kB / 490.1 MB, free: 9.438 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1531, allocations: 0 / 490.1 MB, free: 9.438 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1531, allocations: 0 / 490.1 MB, free: 9.438 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.1531, allocations: 0 / 490.1 MB, free: 9.438 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.0007901/0.1539, allocations: 407 kB / 490.5 MB, free: 8.992 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/0.154, allocations: 11.97 kB / 490.5 MB, free: 8.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.963e-05/0.154, allocations: 8.844 kB / 490.5 MB, free: 8.973 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.1544, allocations: 200.7 kB / 490.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1544, allocations: 7.938 kB / 490.7 MB, free: 8.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.1545, allocations: 0 / 490.7 MB, free: 8.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.1546, allocations: 53.67 kB / 490.8 MB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.1547, allocations: 4 kB / 490.8 MB, free: 8.668 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1547, allocations: 4 kB / 490.8 MB, free: 8.664 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1547, allocations: 0 / 490.8 MB, free: 8.664 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.245e-05/0.1548, allocations: 23.92 kB / 490.8 MB, free: 8.641 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004364/0.1552, allocations: 280.8 kB / 491.1 MB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.1554, allocations: 58.67 kB / 491.1 MB, free: 8.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.599e-05/0.1555, allocations: 20.86 kB / 491.1 MB, free: 8.227 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.1555, allocations: 4 kB / 491.1 MB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002435/0.1558, allocations: 71.31 kB / 491.2 MB, free: 8.141 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.314e-06/0.1558, allocations: 0 / 491.2 MB, free: 8.141 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006103/0.1564, allocations: 169.2 kB / 491.4 MB, free: 7.969 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.1565, allocations: 55.34 kB / 491.4 MB, free: 7.902 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.1566, allocations: 162.4 kB / 491.6 MB, free: 7.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.1567, allocations: 29.7 kB / 491.6 MB, free: 7.695 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.1567, allocations: 100.1 kB / 491.7 MB, free: 7.594 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.1568, allocations: 27.64 kB / 491.7 MB, free: 7.566 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-05/0.1568, allocations: 21.72 kB / 491.8 MB, free: 7.539 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.157, allocations: 322.8 kB / 492.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.881e-05/0.157, allocations: 20.36 kB / 492.1 MB, free: 7.195 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.895e-05/0.1571, allocations: 41.66 kB / 492.1 MB, free: 7.148 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.1572, allocations: 61.7 kB / 492.2 MB, free: 7.082 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1572, allocations: 4 kB / 492.2 MB, free: 7.078 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001963/0.1574, allocations: 101.6 kB / 492.3 MB, free: 6.973 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.1575, allocations: 8 kB / 492.3 MB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1575, allocations: 3.938 kB / 492.3 MB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1575, allocations: 3.938 kB / 492.3 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.421e-05/0.1576, allocations: 12 kB / 492.3 MB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.1576, allocations: 8.031 kB / 492.3 MB, free: 6.938 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.623e-05/0.1577, allocations: 7.922 kB / 492.4 MB, free: 6.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.1577, allocations: 4 kB / 492.4 MB, free: 6.926 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.964e-05/0.1578, allocations: 121.8 kB / 492.5 MB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.1578, allocations: 15.8 kB / 492.5 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.69e-05/0.1579, allocations: 20.64 kB / 492.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1579, allocations: 0 / 492.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1579, allocations: 0 / 492.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1579, allocations: 0 / 492.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004568/0.1584, allocations: 387.3 kB / 492.9 MB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1584, allocations: 4 kB / 492.9 MB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.506e-05/0.1584, allocations: 7.938 kB / 492.9 MB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1584, allocations: 4 kB / 492.9 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.1584, allocations: 4 kB / 492.9 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.1585, allocations: 3.984 kB / 492.9 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.1585, allocations: 4 kB / 492.9 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005354/0.159, allocations: 0.7754 MB / 493.7 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.937e-05/0.1591, allocations: 85 kB / 493.8 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.1591, allocations: 8 kB / 493.8 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.32e-05/0.1592, allocations: 0 / 493.8 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.1592, allocations: 11.92 kB / 493.8 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.1592, allocations: 8 kB / 493.8 MB, free: 5.332 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.428e-05/0.1593, allocations: 127.9 kB / 493.9 MB, free: 5.207 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1593, allocations: 0 / 493.9 MB, free: 5.207 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003448/0.1597, allocations: 28 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.00103/0.1607, allocations: 473.7 kB / 494.4 MB, free: 4.762 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.1609, allocations: 59.91 kB / 494.5 MB, free: 4.703 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.852e-06/0.1609, allocations: 4 kB / 494.5 MB, free: 4.699 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.609e-05/0.161, allocations: 27.92 kB / 494.5 MB, free: 4.672 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.1614, allocations: 27.98 kB / 494.5 MB, free: 4.645 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/0.1619, allocations: 347.6 kB / 494.9 MB, free: 4.262 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.1623, allocations: 0.7004 MB / 495.6 MB, free: 3.535 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.325e-05/0.1624, allocations: 16.88 kB / 495.6 MB, free: 3.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.1624, allocations: 15.44 kB / 495.6 MB, free: 3.508 MB / 378.7 MB Notification: Performance of SimCode: time 3.116e-06/0.1624, allocations: 0 / 495.6 MB, free: 3.508 MB / 378.7 MB Notification: Performance of Templates: time 0.004488/0.1669, allocations: 1.672 MB / 497.3 MB, free: 1.844 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches