Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009179/0.0009179, allocations: 179.2 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.718/1.718, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0008353/0.0008355, allocations: 85 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.4295/0.4295, allocations: 43.57 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004253/0.0004252, allocations: 16 kB / 431.4 MB, free: 6.129 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.156, allocations: 58.84 MB / 490.2 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002227/0.1583, allocations: 1.394 MB / 491.6 MB, free: 9.793 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.1596, allocations: 0.7345 MB / 492.4 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.91e-05/0.1597, allocations: 3.938 kB / 492.4 MB, free: 9.047 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.16, allocations: 35.89 kB / 492.4 MB, free: 9.012 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001772/0.1602, allocations: 47.77 kB / 492.5 MB, free: 8.965 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.1604, allocations: 75.8 kB / 492.5 MB, free: 8.891 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.1606, allocations: 79.7 kB / 492.6 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1607, allocations: 24.19 kB / 492.6 MB, free: 8.789 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.486e-05/0.1608, allocations: 35.8 kB / 492.7 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.528e-05/0.1609, allocations: 23.86 kB / 492.7 MB, free: 8.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.1609, allocations: 4 kB / 492.7 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.129e-05/0.161, allocations: 39.97 kB / 492.7 MB, free: 8.688 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.194e-05/0.161, allocations: 15.92 kB / 492.7 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.179e-05/0.1611, allocations: 41.58 kB / 492.8 MB, free: 8.625 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.1613, allocations: 80.09 kB / 492.9 MB, free: 8.547 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.1613, allocations: 4 kB / 492.9 MB, free: 8.543 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1613, allocations: 4 kB / 492.9 MB, free: 8.539 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.1613, allocations: 0 / 492.9 MB, free: 8.539 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.0005523/0.1619, allocations: 398.5 kB / 493.3 MB, free: 8.105 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.1619, allocations: 12.02 kB / 493.3 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.162, allocations: 11.81 kB / 493.3 MB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.1622, allocations: 194.9 kB / 493.5 MB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.1622, allocations: 4 kB / 493.5 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.1623, allocations: 0 / 493.5 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.1624, allocations: 65.61 kB / 493.5 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1625, allocations: 3.938 kB / 493.6 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1625, allocations: 0 / 493.6 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.1625, allocations: 3.953 kB / 493.6 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.723e-05/0.1626, allocations: 19.98 kB / 493.6 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.163, allocations: 280.9 kB / 493.8 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.1632, allocations: 58.61 kB / 493.9 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.682e-05/0.1632, allocations: 24.86 kB / 493.9 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.1633, allocations: 0 / 493.9 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002034/0.1635, allocations: 71.33 kB / 494 MB, free: 7.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1635, allocations: 0 / 494 MB, free: 7.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005652/0.164, allocations: 173.2 kB / 494.2 MB, free: 7.074 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.1641, allocations: 55.41 kB / 494.2 MB, free: 7.008 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.1643, allocations: 174.2 kB / 494.4 MB, free: 6.824 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.1643, allocations: 25.7 kB / 494.4 MB, free: 6.793 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.1644, allocations: 96.14 kB / 494.5 MB, free: 6.695 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.1644, allocations: 27.64 kB / 494.5 MB, free: 6.668 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.1645, allocations: 0 / 494.5 MB, free: 6.668 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1646, allocations: 326.8 kB / 494.9 MB, free: 6.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.528e-05/0.1647, allocations: 19.98 kB / 494.9 MB, free: 6.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-05/0.1647, allocations: 45.58 kB / 494.9 MB, free: 6.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.078e-05/0.1648, allocations: 24 kB / 494.9 MB, free: 6.246 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1648, allocations: 0 / 494.9 MB, free: 6.246 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000176/0.165, allocations: 97.53 kB / 495 MB, free: 6.145 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.165, allocations: 8 kB / 495 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.165, allocations: 3.984 kB / 495.1 MB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.165, allocations: 3.938 kB / 495.1 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.872e-05/0.1651, allocations: 16.03 kB / 495.1 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1652, allocations: 384 / 495.1 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.658e-05/0.1652, allocations: 8 kB / 495.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.1652, allocations: 4 kB / 495.1 MB, free: 6.102 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.0001423/0.1654, allocations: 121.8 kB / 495.2 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.1654, allocations: 19.77 kB / 495.2 MB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.779e-05/0.1655, allocations: 16.7 kB / 495.2 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1655, allocations: 0 / 495.2 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1655, allocations: 4 kB / 495.2 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.1655, allocations: 4 kB / 495.2 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/0.166, allocations: 391.2 kB / 495.6 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.166, allocations: 0 / 495.6 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.307e-05/0.166, allocations: 11.94 kB / 495.6 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1661, allocations: 0 / 495.6 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.1661, allocations: 4 kB / 495.6 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1661, allocations: 0 / 495.6 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1661, allocations: 3.984 kB / 495.6 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.1663, allocations: 204.3 kB / 495.8 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.1664, allocations: 92.88 kB / 495.9 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.1664, allocations: 4 kB / 495.9 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.197e-05/0.1665, allocations: 7.984 kB / 496 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.1665, allocations: 4 kB / 496 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.1666, allocations: 0 / 496 MB, free: 5.129 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001171/0.1667, allocations: 143.9 kB / 496.1 MB, free: 4.988 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.422e-06/0.1667, allocations: 0 / 496.1 MB, free: 4.988 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002354/0.1669, allocations: 27.94 kB / 496.1 MB, free: 4.961 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.001011/0.168, allocations: 467.7 kB / 496.6 MB, free: 4.551 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.1681, allocations: 55.97 kB / 496.6 MB, free: 4.496 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.1682, allocations: 0 / 496.6 MB, free: 4.496 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.918e-05/0.1682, allocations: 31.92 kB / 496.7 MB, free: 4.465 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.1686, allocations: 23.98 kB / 496.7 MB, free: 4.441 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004729/0.169, allocations: 259.8 kB / 496.9 MB, free: 4.156 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.1694, allocations: 0.7043 MB / 497.6 MB, free: 3.426 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.1694, allocations: 19.38 kB / 497.7 MB, free: 3.406 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.1694, allocations: 4 kB / 497.7 MB, free: 3.402 MB / 378.7 MB Notification: Performance of Templates: time 0.003614/0.173, allocations: 1.851 MB / 499.5 MB, free: 1.555 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches