Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001596/0.001596, allocations: 179.2 kB / 16.41 MB, free: 5.707 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.816/1.816, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001114/0.001114, allocations: 87.8 kB / 270.9 MB, free: 8.359 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.4256/0.4256, allocations: 43.56 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004535/0.0004536, allocations: 15.98 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1525, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.00222/0.1548, allocations: 1.398 MB / 491.6 MB, free: 9.816 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.156, allocations: 0.7422 MB / 492.4 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.156e-05/0.1561, allocations: 0 / 492.4 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002906/0.1564, allocations: 35.83 kB / 492.4 MB, free: 9.031 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001725/0.1566, allocations: 43.83 kB / 492.5 MB, free: 8.988 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.1568, allocations: 75.84 kB / 492.5 MB, free: 8.914 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.157, allocations: 83.7 kB / 492.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.356e-05/0.1571, allocations: 8.219 kB / 492.6 MB, free: 8.824 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.064e-05/0.1572, allocations: 39.84 kB / 492.7 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.176e-05/0.1573, allocations: 35.78 kB / 492.7 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.1573, allocations: 0 / 492.7 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.184e-05/0.1574, allocations: 35.98 kB / 492.7 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.506e-05/0.1575, allocations: 23.86 kB / 492.8 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.1575, allocations: 37.64 kB / 492.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.1577, allocations: 80.09 kB / 492.9 MB, free: 8.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1577, allocations: 0 / 492.9 MB, free: 8.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1577, allocations: 4 kB / 492.9 MB, free: 8.566 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.493e-06/0.1577, allocations: 0 / 492.9 MB, free: 8.566 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.0005656/0.1583, allocations: 402.8 kB / 493.3 MB, free: 8.125 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.1583, allocations: 12.02 kB / 493.3 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.087e-05/0.1584, allocations: 11.89 kB / 493.3 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.1586, allocations: 206.8 kB / 493.5 MB, free: 7.859 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.1587, allocations: 0 / 493.5 MB, free: 7.859 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.1587, allocations: 4 kB / 493.5 MB, free: 7.855 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.1589, allocations: 61.55 kB / 493.6 MB, free: 7.789 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.1589, allocations: 0 / 493.6 MB, free: 7.789 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.1589, allocations: 7.984 kB / 493.6 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1589, allocations: 3.953 kB / 493.6 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.018e-05/0.159, allocations: 19.98 kB / 493.6 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003934/0.1594, allocations: 277 kB / 493.9 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.1596, allocations: 58.62 kB / 493.9 MB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.673e-05/0.1597, allocations: 24.84 kB / 493.9 MB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.1597, allocations: 0 / 493.9 MB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000196/0.1599, allocations: 75.25 kB / 494 MB, free: 7.258 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.1599, allocations: 0 / 494 MB, free: 7.258 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005612/0.1605, allocations: 169.3 kB / 494.2 MB, free: 7.086 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.1605, allocations: 55.41 kB / 494.2 MB, free: 7.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.1607, allocations: 186.1 kB / 494.4 MB, free: 6.824 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.1608, allocations: 33.7 kB / 494.4 MB, free: 6.785 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.1608, allocations: 100.1 kB / 494.5 MB, free: 6.684 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.1609, allocations: 27.64 kB / 494.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-06/0.1609, allocations: 0 / 494.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.161, allocations: 322.8 kB / 494.9 MB, free: 6.332 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.584e-05/0.1611, allocations: 19.98 kB / 494.9 MB, free: 6.312 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.511e-05/0.1611, allocations: 41.64 kB / 494.9 MB, free: 6.266 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.899e-05/0.1612, allocations: 27.98 kB / 495 MB, free: 6.238 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1612, allocations: 0 / 495 MB, free: 6.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000185/0.1614, allocations: 97.55 kB / 495.1 MB, free: 6.137 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1614, allocations: 4 kB / 495.1 MB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1614, allocations: 4 kB / 495.1 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1615, allocations: 3.938 kB / 495.1 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.913e-05/0.1616, allocations: 15.98 kB / 495.1 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.547e-06/0.1616, allocations: 160 / 495.1 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.095e-05/0.1616, allocations: 8.031 kB / 495.1 MB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.1616, allocations: 8 kB / 495.1 MB, free: 6.094 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.0001032/0.1617, allocations: 121.8 kB / 495.2 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.1618, allocations: 11.86 kB / 495.2 MB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.617e-05/0.1618, allocations: 20.69 kB / 495.3 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1619, allocations: 4 kB / 495.3 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.1619, allocations: 0 / 495.3 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1619, allocations: 7.922 kB / 495.3 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004388/0.1623, allocations: 399.2 kB / 495.7 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.1623, allocations: 4 kB / 495.7 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.372e-05/0.1624, allocations: 7.938 kB / 495.7 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1624, allocations: 4 kB / 495.7 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1624, allocations: 3.984 kB / 495.7 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.1624, allocations: 0 / 495.7 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1624, allocations: 4 kB / 495.7 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.1627, allocations: 196.3 kB / 495.9 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.535e-05/0.1627, allocations: 92.88 kB / 496 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.1628, allocations: 8 kB / 496 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.088e-05/0.1628, allocations: 3.984 kB / 496 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.1629, allocations: 4 kB / 496 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.1629, allocations: 4 kB / 496 MB, free: 5.113 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001227/0.163, allocations: 148 kB / 496.1 MB, free: 4.969 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.024e-06/0.163, allocations: 4.188 kB / 496.1 MB, free: 4.965 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000237/0.1633, allocations: 27.92 kB / 496.2 MB, free: 4.938 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.001003/0.1643, allocations: 472.3 kB / 496.6 MB, free: 4.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001824/0.1645, allocations: 51.98 kB / 496.7 MB, free: 4.469 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.1645, allocations: 4 kB / 496.7 MB, free: 4.465 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.342e-05/0.1646, allocations: 35.91 kB / 496.7 MB, free: 4.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.1649, allocations: 23.98 kB / 496.7 MB, free: 4.406 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000507/0.1654, allocations: 268.2 kB / 497 MB, free: 4.109 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.1657, allocations: 0.7043 MB / 497.7 MB, free: 3.379 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.134e-05/0.1658, allocations: 19.38 kB / 497.7 MB, free: 3.359 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.1658, allocations: 0 / 497.7 MB, free: 3.359 MB / 378.7 MB Notification: Performance of Templates: time 0.00399/0.1698, allocations: 1.878 MB / 499.6 MB, free: 1.484 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches