Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 179.3 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.932/1.932, 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.0009829/0.0009827, allocations: 85.34 kB / 270.9 MB, free: 8.348 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.4467/0.4467, allocations: 43.55 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004621/0.0004621, allocations: 12 kB / 431.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1547, allocations: 58.85 MB / 490.2 MB, free: 10.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002724/0.1575, allocations: 1.398 MB / 491.6 MB, free: 9.562 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.159, allocations: 0.7344 MB / 492.4 MB, free: 8.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.1592, allocations: 0 / 492.4 MB, free: 8.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.1596, allocations: 35.84 kB / 492.4 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002711/0.1599, allocations: 43.83 kB / 492.5 MB, free: 8.742 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.1602, allocations: 79.83 kB / 492.5 MB, free: 8.664 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.1604, allocations: 83.77 kB / 492.6 MB, free: 8.582 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1606, allocations: 8.219 kB / 492.6 MB, free: 8.574 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.1607, allocations: 39.78 kB / 492.7 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.891e-05/0.1608, allocations: 31.84 kB / 492.7 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.1608, allocations: 0 / 492.7 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.1609, allocations: 39.92 kB / 492.7 MB, free: 8.465 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.449e-05/0.161, allocations: 23.91 kB / 492.8 MB, free: 8.441 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.027e-05/0.1611, allocations: 37.64 kB / 492.8 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.1613, allocations: 80.11 kB / 492.9 MB, free: 8.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1613, allocations: 0 / 492.9 MB, free: 8.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1613, allocations: 0 / 492.9 MB, free: 8.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1613, allocations: 4 kB / 492.9 MB, free: 8.316 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.0007177/0.162, allocations: 402.8 kB / 493.3 MB, free: 7.875 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.456e-05/0.1621, allocations: 12.02 kB / 493.3 MB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.145e-05/0.1622, allocations: 7.906 kB / 493.3 MB, free: 7.855 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003393/0.1625, allocations: 210.8 kB / 493.5 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.1625, allocations: 0 / 493.5 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.1626, allocations: 8 kB / 493.5 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.1628, allocations: 53.67 kB / 493.6 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.1628, allocations: 3.938 kB / 493.6 MB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.1628, allocations: 0 / 493.6 MB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.1629, allocations: 3.953 kB / 493.6 MB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.826e-05/0.163, allocations: 23.92 kB / 493.6 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005749/0.1635, allocations: 277 kB / 493.9 MB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.1638, allocations: 62.67 kB / 493.9 MB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.3e-05/0.1638, allocations: 20.84 kB / 493.9 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.1639, allocations: 3.938 kB / 493.9 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000293/0.1642, allocations: 75.25 kB / 494 MB, free: 7.008 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.1642, allocations: 0 / 494 MB, free: 7.008 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006861/0.1649, allocations: 169.6 kB / 494.2 MB, free: 6.836 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/0.165, allocations: 51.41 kB / 494.2 MB, free: 6.773 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.1652, allocations: 182.2 kB / 494.4 MB, free: 6.586 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.138e-05/0.1653, allocations: 33.69 kB / 494.4 MB, free: 6.547 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.334e-05/0.1654, allocations: 100.1 kB / 494.5 MB, free: 6.445 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.756e-05/0.1654, allocations: 31.62 kB / 494.6 MB, free: 6.414 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-06/0.1654, allocations: 0 / 494.6 MB, free: 6.414 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1656, allocations: 326.8 kB / 494.9 MB, free: 6.086 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.953e-05/0.1657, allocations: 19.94 kB / 494.9 MB, free: 6.066 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.531e-05/0.1658, allocations: 37.7 kB / 494.9 MB, free: 6.023 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.581e-05/0.1658, allocations: 23.98 kB / 495 MB, free: 6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1659, allocations: 3.938 kB / 495 MB, free: 5.996 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002065/0.1661, allocations: 97.61 kB / 495.1 MB, free: 5.895 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.1661, allocations: 4 kB / 495.1 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.1661, allocations: 8.031 kB / 495.1 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.1661, allocations: 4 kB / 495.1 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.1663, allocations: 19.92 kB / 495.1 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.1663, allocations: 0 / 495.1 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.838e-05/0.1663, allocations: 4 kB / 495.1 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.1664, allocations: 4 kB / 495.1 MB, free: 5.852 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.000138/0.1665, allocations: 129.2 kB / 495.2 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.1665, allocations: 15.84 kB / 495.3 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.559e-05/0.1666, allocations: 12.72 kB / 495.3 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.1666, allocations: 11.98 kB / 495.3 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.1666, allocations: 0 / 495.3 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.1667, allocations: 0 / 495.3 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005298/0.1672, allocations: 399.1 kB / 495.7 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1672, allocations: 0 / 495.7 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.368e-05/0.1672, allocations: 8 kB / 495.7 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.1673, allocations: 4 kB / 495.7 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.1673, allocations: 0 / 495.7 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1673, allocations: 4.031 kB / 495.7 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.1673, allocations: 4 kB / 495.7 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.1675, allocations: 200.2 kB / 495.9 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.772e-05/0.1676, allocations: 92.88 kB / 496 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.1677, allocations: 8 kB / 496 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.38e-05/0.1677, allocations: 3.984 kB / 496 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.1678, allocations: 8 kB / 496 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.1678, allocations: 4 kB / 496 MB, free: 4.867 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001284/0.1679, allocations: 144 kB / 496.1 MB, free: 4.727 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.168, allocations: 0 / 496.1 MB, free: 4.727 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002819/0.1682, allocations: 24 kB / 496.2 MB, free: 4.703 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.001061/0.1693, allocations: 480.8 kB / 496.6 MB, free: 4.273 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001923/0.1695, allocations: 51.97 kB / 496.7 MB, free: 4.223 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1695, allocations: 0 / 496.7 MB, free: 4.223 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.771e-05/0.1696, allocations: 35.92 kB / 496.7 MB, free: 4.188 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.17, allocations: 23.98 kB / 496.7 MB, free: 4.164 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000515/0.1705, allocations: 272.1 kB / 497 MB, free: 3.863 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.1709, allocations: 0.7121 MB / 497.7 MB, free: 3.125 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.354e-05/0.1709, allocations: 15.44 kB / 497.7 MB, free: 3.109 MB / 378.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1709, allocations: 0 / 497.7 MB, free: 3.109 MB / 378.7 MB Notification: Performance of Templates: time 0.004243/0.1752, allocations: 1.867 MB / 499.6 MB, free: 1.246 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches