Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,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.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,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.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002332/0.002332, allocations: 182.5 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.079/2.079, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001156/0.001156, allocations: 100.7 kB / 270.9 MB, free: 8.355 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.5608/0.5608, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005444/0.0005447, allocations: 16 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1409, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002743/0.1437, allocations: 1.394 MB / 491.6 MB, free: 9.828 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002783/0.1465, allocations: 1.305 MB / 492.9 MB, free: 8.512 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.1467, allocations: 0 / 492.9 MB, free: 8.512 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.147, allocations: 39.83 kB / 493 MB, free: 8.473 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002716/0.1473, allocations: 47.81 kB / 493 MB, free: 8.426 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.1477, allocations: 71.8 kB / 493.1 MB, free: 8.355 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.1479, allocations: 55.86 kB / 493.1 MB, free: 8.301 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1481, allocations: 16.2 kB / 493.1 MB, free: 8.285 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.1482, allocations: 35.84 kB / 493.2 MB, free: 8.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.1484, allocations: 27.84 kB / 493.2 MB, free: 8.223 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.1484, allocations: 8 kB / 493.2 MB, free: 8.215 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.1486, allocations: 35.98 kB / 493.2 MB, free: 8.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.277e-05/0.1487, allocations: 19.86 kB / 493.3 MB, free: 8.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.171e-05/0.1488, allocations: 33.7 kB / 493.3 MB, free: 8.121 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.149, allocations: 88.08 kB / 493.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.149, allocations: 0 / 493.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.149, allocations: 4 kB / 493.4 MB, free: 8.031 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1491, allocations: 0 / 493.4 MB, free: 8.031 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.0006542/0.1497, allocations: 398.9 kB / 493.8 MB, free: 7.594 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.1498, allocations: 20.02 kB / 493.8 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.575e-05/0.1498, allocations: 7.906 kB / 493.8 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.1502, allocations: 202.9 kB / 494 MB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.1502, allocations: 4 kB / 494 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.1503, allocations: 0 / 494 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.1505, allocations: 67.39 kB / 494.1 MB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.1505, allocations: 3.953 kB / 494.1 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.1506, allocations: 0 / 494.1 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1506, allocations: 3.938 kB / 494.1 MB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.1507, allocations: 23.98 kB / 494.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004663/0.1512, allocations: 277 kB / 494.4 MB, free: 6.895 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.1514, allocations: 58.66 kB / 494.4 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.1515, allocations: 11.89 kB / 494.4 MB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002405/0.1517, allocations: 67.52 kB / 494.5 MB, free: 6.738 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.864e-06/0.1517, allocations: 0 / 494.5 MB, free: 6.738 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008166/0.1526, allocations: 173.1 kB / 494.7 MB, free: 6.562 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/0.1527, allocations: 77.11 kB / 494.8 MB, free: 6.469 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.1529, allocations: 157.8 kB / 494.9 MB, free: 6.305 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.1529, allocations: 25.7 kB / 494.9 MB, free: 6.273 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.522e-05/0.153, allocations: 158.6 kB / 495.1 MB, free: 6.117 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.781e-05/0.1531, allocations: 27.7 kB / 495.1 MB, free: 6.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-06/0.1531, allocations: 0 / 495.1 MB, free: 6.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1533, allocations: 318.8 kB / 495.4 MB, free: 5.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.617e-05/0.1534, allocations: 16 kB / 495.4 MB, free: 5.754 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.1535, allocations: 42.56 kB / 495.5 MB, free: 5.703 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.1536, allocations: 31.88 kB / 495.5 MB, free: 5.672 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1536, allocations: 4.031 kB / 495.5 MB, free: 5.668 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002934/0.154, allocations: 89.75 kB / 495.6 MB, free: 5.574 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.154, allocations: 8 kB / 495.6 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.154, allocations: 0 / 495.6 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.154, allocations: 0 / 495.6 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.1542, allocations: 19.92 kB / 495.6 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.1542, allocations: 4 kB / 495.6 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.129e-05/0.1543, allocations: 3.938 kB / 495.6 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.1543, allocations: 4 kB / 495.6 MB, free: 5.535 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.0001529/0.1545, allocations: 141.4 kB / 495.8 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.1545, allocations: 7.906 kB / 495.8 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.631e-05/0.1546, allocations: 12.72 kB / 495.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1546, allocations: 0 / 495.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1546, allocations: 384 / 495.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1546, allocations: 0 / 495.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006976/0.1553, allocations: 403.2 kB / 496.2 MB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1554, allocations: 4.031 kB / 496.2 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.287e-05/0.1554, allocations: 8 kB / 496.2 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.1555, allocations: 0 / 496.2 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.1555, allocations: 4 kB / 496.2 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.1555, allocations: 3.938 kB / 496.2 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1555, allocations: 0 / 496.2 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003712/0.1559, allocations: 218 kB / 496.4 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.488e-05/0.156, allocations: 85.02 kB / 496.5 MB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.156, allocations: 4 kB / 496.5 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.1562, allocations: 7.984 kB / 496.5 MB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.1562, allocations: 4 kB / 496.5 MB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.1563, allocations: 4.188 kB / 496.5 MB, free: 4.539 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000151/0.1564, allocations: 122.6 kB / 496.7 MB, free: 4.422 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1564, allocations: 3.938 kB / 496.7 MB, free: 4.418 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000399/0.1568, allocations: 35.98 kB / 496.7 MB, free: 4.383 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.001521/0.1584, allocations: 0.4956 MB / 497.2 MB, free: 3.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000328/0.1587, allocations: 59.97 kB / 497.2 MB, free: 3.871 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.1588, allocations: 0 / 497.2 MB, free: 3.871 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.1589, allocations: 27.92 kB / 497.3 MB, free: 3.844 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.1593, allocations: 23.92 kB / 497.3 MB, free: 3.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006107/0.1599, allocations: 231.9 kB / 497.5 MB, free: 3.562 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.1603, allocations: 0.7004 MB / 498.2 MB, free: 2.836 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.492e-05/0.1604, allocations: 15.44 kB / 498.2 MB, free: 2.824 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1604, allocations: 0 / 498.2 MB, free: 2.824 MB / 378.7 MB Notification: Performance of Templates: time 0.006196/0.1666, allocations: 2.063 MB / 0.4886 GB, free: 0.7617 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches