Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008892/0.0008893, allocations: 179 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.884/1.884, 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.0008005/0.0008007, allocations: 92.8 kB / 270.9 MB, free: 8.344 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.475/0.475, allocations: 43.56 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003889/0.0003889, allocations: 12 kB / 431.4 MB, free: 5.906 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1566, allocations: 58.86 MB / 490.2 MB, free: 10.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002109/0.1588, allocations: 1.361 MB / 491.6 MB, free: 9.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.16, allocations: 0.7161 MB / 492.3 MB, free: 8.867 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.336e-05/0.1601, allocations: 0 / 492.3 MB, free: 8.867 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.1604, allocations: 67.78 kB / 492.4 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000192/0.1607, allocations: 51.81 kB / 492.4 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.1609, allocations: 71.86 kB / 492.5 MB, free: 8.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.1611, allocations: 91.73 kB / 492.6 MB, free: 8.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.849e-05/0.1611, allocations: 3.984 kB / 492.6 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.863e-05/0.1612, allocations: 39.8 kB / 492.6 MB, free: 8.547 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.81e-05/0.1613, allocations: 43.81 kB / 492.7 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.1614, allocations: 4 kB / 492.7 MB, free: 8.5 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.81e-05/0.1614, allocations: 16 kB / 492.7 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.452e-05/0.1615, allocations: 15.92 kB / 492.7 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.996e-05/0.1615, allocations: 41.64 kB / 492.8 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.1617, allocations: 84.03 kB / 492.8 MB, free: 8.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1617, allocations: 0 / 492.8 MB, free: 8.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1617, allocations: 0 / 492.8 MB, free: 8.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1617, allocations: 0 / 492.8 MB, free: 8.34 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005516/0.1623, allocations: 394.8 kB / 493.2 MB, free: 7.906 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1623, allocations: 8.031 kB / 493.2 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.1624, allocations: 11.91 kB / 493.2 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.1626, allocations: 190.9 kB / 493.4 MB, free: 7.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.1627, allocations: 3.984 kB / 493.4 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.1627, allocations: 15.94 kB / 493.5 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.1629, allocations: 41.69 kB / 493.5 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.1629, allocations: 0 / 493.5 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.1629, allocations: 3.984 kB / 493.5 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.1629, allocations: 7.953 kB / 493.5 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.736e-05/0.163, allocations: 12 kB / 493.5 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/0.1632, allocations: 185.6 kB / 493.7 MB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.1634, allocations: 58.55 kB / 493.8 MB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.932e-05/0.1634, allocations: 16.86 kB / 493.8 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.1635, allocations: 7.922 kB / 493.8 MB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001913/0.1637, allocations: 67.39 kB / 493.8 MB, free: 7.168 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.1637, allocations: 0 / 493.8 MB, free: 7.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000279/0.164, allocations: 93.58 kB / 493.9 MB, free: 7.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.164, allocations: 63.3 kB / 494 MB, free: 6.996 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.1642, allocations: 178.2 kB / 494.2 MB, free: 6.812 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.1642, allocations: 29.7 kB / 494.2 MB, free: 6.777 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.125e-05/0.1643, allocations: 96.14 kB / 494.3 MB, free: 6.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.1643, allocations: 19.73 kB / 494.3 MB, free: 6.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/0.1643, allocations: 4 kB / 494.3 MB, free: 6.656 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1645, allocations: 322.8 kB / 494.6 MB, free: 6.332 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.744e-05/0.1645, allocations: 12 kB / 494.6 MB, free: 6.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.299e-05/0.1646, allocations: 29.7 kB / 494.7 MB, free: 6.285 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.076e-05/0.1647, allocations: 16 kB / 494.7 MB, free: 6.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1647, allocations: 0 / 494.7 MB, free: 6.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001402/0.1648, allocations: 81.53 kB / 494.8 MB, free: 6.184 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.1648, allocations: 7.984 kB / 494.8 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1649, allocations: 0 / 494.8 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.1649, allocations: 0 / 494.8 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.504e-05/0.1649, allocations: 16.03 kB / 494.8 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.165, allocations: 3.953 kB / 494.8 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.853e-05/0.165, allocations: 7.906 kB / 494.8 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.165, allocations: 0 / 494.8 MB, free: 6.148 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 (7): * Single equations (assignments): 7 * 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.0001099/0.1651, allocations: 133.8 kB / 494.9 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/0.1652, allocations: 11.91 kB / 495 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.837e-05/0.1652, allocations: 12.3 kB / 495 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1652, allocations: 3.938 kB / 495 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1652, allocations: 0 / 495 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1652, allocations: 7.953 kB / 495 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.1654, allocations: 181.6 kB / 495.2 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1654, allocations: 0 / 495.2 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.936e-05/0.1654, allocations: 4 kB / 495.2 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1654, allocations: 0 / 495.2 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.1654, allocations: 0 / 495.2 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.1654, allocations: 3.984 kB / 495.2 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1655, allocations: 320 / 495.2 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.1656, allocations: 116.9 kB / 495.3 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.764e-05/0.1657, allocations: 96.84 kB / 495.4 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.1657, allocations: 4 kB / 495.4 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.951e-05/0.1658, allocations: 4 kB / 495.4 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.1658, allocations: 3.984 kB / 495.4 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.1658, allocations: 4 kB / 495.4 MB, free: 5.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001487/0.166, allocations: 144 kB / 495.5 MB, free: 5.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.166, allocations: 0 / 495.5 MB, free: 5.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001964/0.1662, allocations: 19.98 kB / 495.5 MB, free: 5.32 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008678/0.1671, allocations: 409.1 kB / 495.9 MB, free: 4.969 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001474/0.1672, allocations: 43.98 kB / 496 MB, free: 4.926 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1673, allocations: 0 / 496 MB, free: 4.926 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.989e-05/0.1673, allocations: 23.92 kB / 496 MB, free: 4.902 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.1676, allocations: 23.94 kB / 496 MB, free: 4.879 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000441/0.1681, allocations: 238.9 kB / 496.3 MB, free: 4.609 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.1684, allocations: 0.7004 MB / 497 MB, free: 3.883 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.1684, allocations: 15.44 kB / 497 MB, free: 3.867 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1684, allocations: 0 / 497 MB, free: 3.867 MB / 378.7 MB Notification: Performance of Templates: time 0.003462/0.1719, allocations: 1.661 MB / 498.6 MB, free: 2.207 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches