Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009905/0.0009905, allocations: 177.1 kB / 16.41 MB, free: 5.727 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.843/1.843, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.000832/0.0008321, allocations: 96.34 kB / 270.9 MB, free: 8.352 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.4733/0.4733, allocations: 43.56 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004292/0.0004292, allocations: 12 kB / 431.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1544, allocations: 58.85 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002228/0.1567, allocations: 1.398 MB / 491.6 MB, free: 9.812 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.1579, allocations: 0.7383 MB / 492.4 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.229e-05/0.158, allocations: 3.938 kB / 492.4 MB, free: 9.062 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003534/0.1584, allocations: 79.81 kB / 492.5 MB, free: 8.984 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.1586, allocations: 59.81 kB / 492.5 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.1589, allocations: 87.77 kB / 492.6 MB, free: 8.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.159, allocations: 95.69 kB / 492.7 MB, free: 8.746 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.078e-05/0.1591, allocations: 8.219 kB / 492.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.148e-05/0.1592, allocations: 47.77 kB / 492.7 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.768e-05/0.1593, allocations: 51.81 kB / 492.8 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.1594, allocations: 0 / 492.8 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.109e-05/0.1595, allocations: 35.98 kB / 492.8 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.549e-05/0.1595, allocations: 19.92 kB / 492.9 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.445e-05/0.1596, allocations: 41.58 kB / 492.9 MB, free: 8.539 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.1597, allocations: 92.09 kB / 493 MB, free: 8.449 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1598, allocations: 0 / 493 MB, free: 8.449 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1598, allocations: 0 / 493 MB, free: 8.449 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1598, allocations: 0 / 493 MB, free: 8.449 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.0005886/0.1604, allocations: 406.8 kB / 493.4 MB, free: 8.004 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.1604, allocations: 12.02 kB / 493.4 MB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.148e-05/0.1605, allocations: 15.81 kB / 493.4 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.1608, allocations: 210.8 kB / 493.6 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.1608, allocations: 0 / 493.6 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.1608, allocations: 12 kB / 493.6 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.161, allocations: 49.67 kB / 493.7 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.161, allocations: 3.938 kB / 493.7 MB, free: 7.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.161, allocations: 7.984 kB / 493.7 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.161, allocations: 3.953 kB / 493.7 MB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.835e-05/0.1611, allocations: 19.98 kB / 493.7 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003938/0.1615, allocations: 277 kB / 494 MB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.1617, allocations: 66.61 kB / 494 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.259e-05/0.1618, allocations: 20.84 kB / 494.1 MB, free: 7.211 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.1618, allocations: 4 kB / 494.1 MB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/0.162, allocations: 67.34 kB / 494.1 MB, free: 7.129 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 4.618e-06/0.162, allocations: 4 kB / 494.1 MB, free: 7.125 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005629/0.1626, allocations: 177 kB / 494.3 MB, free: 6.945 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.1626, allocations: 51.41 kB / 494.4 MB, free: 6.883 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.1629, allocations: 206.4 kB / 494.6 MB, free: 6.672 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.1629, allocations: 33.7 kB / 494.6 MB, free: 6.633 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.799e-05/0.1629, allocations: 100.1 kB / 494.7 MB, free: 6.531 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.163, allocations: 31.62 kB / 494.7 MB, free: 6.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.163, allocations: 7.938 kB / 494.7 MB, free: 6.492 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1631, allocations: 326.8 kB / 495.1 MB, free: 6.164 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.74e-05/0.1632, allocations: 23.94 kB / 495.1 MB, free: 6.141 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.125e-05/0.1633, allocations: 33.7 kB / 495.1 MB, free: 6.102 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.41e-05/0.1633, allocations: 23.98 kB / 495.1 MB, free: 6.078 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1634, allocations: 0 / 495.1 MB, free: 6.078 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001882/0.1636, allocations: 101.9 kB / 495.2 MB, free: 5.973 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1636, allocations: 4 kB / 495.2 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1636, allocations: 4.031 kB / 495.2 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1636, allocations: 0 / 495.2 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.431e-05/0.1637, allocations: 27.98 kB / 495.3 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1637, allocations: 0 / 495.3 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.921e-05/0.1638, allocations: 7.906 kB / 495.3 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.1638, allocations: 0 / 495.3 MB, free: 5.93 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.1639, allocations: 133.8 kB / 495.4 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.1639, allocations: 15.86 kB / 495.4 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.292e-05/0.164, allocations: 13.41 kB / 495.4 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.164, allocations: 7.984 kB / 495.4 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.164, allocations: 0 / 495.4 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.164, allocations: 0 / 495.4 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005102/0.1645, allocations: 399.2 kB / 495.8 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1646, allocations: 4 kB / 495.8 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.085e-05/0.1646, allocations: 4 kB / 495.8 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.1646, allocations: 4 kB / 495.8 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1646, allocations: 3.984 kB / 495.8 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1646, allocations: 4.031 kB / 495.8 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1646, allocations: 4 kB / 495.9 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.1649, allocations: 200.2 kB / 496 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.262e-05/0.1649, allocations: 88.91 kB / 496.1 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.165, allocations: 11.98 kB / 496.1 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-05/0.165, allocations: 4 kB / 496.2 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.1651, allocations: 4 kB / 496.2 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.1651, allocations: 7.984 kB / 496.2 MB, free: 4.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001294/0.1652, allocations: 160.2 kB / 496.3 MB, free: 4.773 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1652, allocations: 0 / 496.3 MB, free: 4.773 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002326/0.1655, allocations: 24 kB / 496.3 MB, free: 4.75 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00097/0.1665, allocations: 467.7 kB / 496.8 MB, free: 4.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.1667, allocations: 63.89 kB / 496.9 MB, free: 4.277 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1667, allocations: 4 kB / 496.9 MB, free: 4.273 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.754e-05/0.1668, allocations: 23.98 kB / 496.9 MB, free: 4.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.1671, allocations: 27.89 kB / 496.9 MB, free: 4.223 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005123/0.1676, allocations: 283.9 kB / 497.2 MB, free: 3.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.1679, allocations: 0.7199 MB / 497.9 MB, free: 3.164 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.303e-05/0.168, allocations: 15.44 kB / 497.9 MB, free: 3.152 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.168, allocations: 0 / 497.9 MB, free: 3.152 MB / 378.7 MB Notification: Performance of Templates: time 0.003636/0.1716, allocations: 1.926 MB / 499.9 MB, free: 1.234 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches