Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,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.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00165/0.001649, allocations: 187.8 kB / 16.4 MB, free: 5.625 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.098/2.098, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001206/0.001206, allocations: 98.78 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2918/0.2918, allocations: 43.55 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006806/0.0006806, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1525, allocations: 58.86 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003729/0.1564, allocations: 1.375 MB / 491.6 MB, free: 7.949 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002414/0.1588, allocations: 0.7345 MB / 492.3 MB, free: 7.207 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.159, allocations: 3.938 kB / 492.3 MB, free: 7.203 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003878/0.1595, allocations: 35.83 kB / 492.4 MB, free: 7.168 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003341/0.1598, allocations: 43.88 kB / 492.4 MB, free: 7.125 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005012/0.1603, allocations: 75.78 kB / 492.5 MB, free: 7.051 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002569/0.1606, allocations: 63.86 kB / 492.6 MB, free: 6.988 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.1607, allocations: 8.219 kB / 492.6 MB, free: 6.98 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.1609, allocations: 39.84 kB / 492.6 MB, free: 6.941 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.161, allocations: 27.86 kB / 492.6 MB, free: 6.914 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.1611, allocations: 0 / 492.6 MB, free: 6.914 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.1613, allocations: 39.84 kB / 492.7 MB, free: 6.875 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.867e-05/0.1614, allocations: 19.92 kB / 492.7 MB, free: 6.855 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.165e-05/0.1614, allocations: 37.64 kB / 492.7 MB, free: 6.812 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.1617, allocations: 92.08 kB / 492.8 MB, free: 6.723 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1618, allocations: 8 kB / 492.8 MB, free: 6.715 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1618, allocations: 0 / 492.8 MB, free: 6.715 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1618, allocations: 0 / 492.8 MB, free: 6.715 MB / 330.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.0008365/0.1626, allocations: 402.8 kB / 493.2 MB, free: 6.273 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.1627, allocations: 12.02 kB / 493.2 MB, free: 6.262 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.904e-05/0.1628, allocations: 11.86 kB / 493.2 MB, free: 6.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.1632, allocations: 202.9 kB / 493.4 MB, free: 6.012 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.1633, allocations: 4 kB / 493.4 MB, free: 6.008 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/0.1633, allocations: 11.84 kB / 493.5 MB, free: 5.996 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.1636, allocations: 53.67 kB / 493.5 MB, free: 5.938 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.1636, allocations: 3.984 kB / 493.5 MB, free: 5.934 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.1636, allocations: 4 kB / 493.5 MB, free: 5.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1637, allocations: 0 / 493.5 MB, free: 5.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.1638, allocations: 23.94 kB / 493.5 MB, free: 5.906 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006135/0.1644, allocations: 288.9 kB / 493.8 MB, free: 5.574 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/0.1648, allocations: 66.61 kB / 493.9 MB, free: 5.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.1648, allocations: 0 / 493.9 MB, free: 5.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002989/0.1652, allocations: 67.52 kB / 494 MB, free: 5.422 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.975e-06/0.1652, allocations: 0 / 494 MB, free: 5.422 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.001054/0.1662, allocations: 173.1 kB / 494.1 MB, free: 5.246 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/0.1664, allocations: 59.39 kB / 494.2 MB, free: 5.176 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000423/0.1668, allocations: 222.7 kB / 494.4 MB, free: 4.945 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.1668, allocations: 25.7 kB / 494.4 MB, free: 4.914 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.167, allocations: 170.6 kB / 494.6 MB, free: 4.746 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.873e-05/0.1671, allocations: 23.66 kB / 494.6 MB, free: 4.723 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-06/0.1671, allocations: 0 / 494.6 MB, free: 4.723 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.1673, allocations: 314.8 kB / 494.9 MB, free: 4.406 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.1674, allocations: 23.94 kB / 494.9 MB, free: 4.383 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.1676, allocations: 37.7 kB / 495 MB, free: 4.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.1677, allocations: 23.98 kB / 495 MB, free: 4.316 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.1677, allocations: 0 / 495 MB, free: 4.316 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003903/0.1682, allocations: 101.5 kB / 495.1 MB, free: 4.211 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.1682, allocations: 6.844 kB / 495.1 MB, free: 4.207 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.1682, allocations: 0 / 495.1 MB, free: 4.207 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.1683, allocations: 11.89 kB / 495.1 MB, free: 4.195 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.1685, allocations: 15.98 kB / 495.1 MB, free: 4.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.1685, allocations: 4.031 kB / 495.1 MB, free: 4.176 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.1687, allocations: 4.375 kB / 495.1 MB, free: 4.172 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.1687, allocations: 4 kB / 495.2 MB, free: 4.168 MB / 330.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.00024/0.169, allocations: 134.5 kB / 495.3 MB, free: 4.031 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.424e-05/0.1691, allocations: 11.81 kB / 495.3 MB, free: 4.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.1692, allocations: 25.39 kB / 495.3 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.1692, allocations: 3.953 kB / 495.3 MB, free: 3.988 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.1692, allocations: 0 / 495.3 MB, free: 3.988 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.1692, allocations: 7.938 kB / 495.3 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.1703, allocations: 391.4 kB / 495.7 MB, free: 3.539 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.1704, allocations: 3.984 kB / 495.7 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.745e-05/0.1705, allocations: 15.92 kB / 495.7 MB, free: 3.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.61e-05/0.1705, allocations: 7.953 kB / 495.7 MB, free: 3.512 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.1705, allocations: 0 / 495.7 MB, free: 3.512 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.1705, allocations: 0 / 495.7 MB, free: 3.512 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.1706, allocations: 4 kB / 495.7 MB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005293/0.1711, allocations: 218.2 kB / 496 MB, free: 3.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.1713, allocations: 92.95 kB / 496 MB, free: 3.16 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.44e-05/0.1713, allocations: 4 kB / 496.1 MB, free: 3.156 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.1715, allocations: 4 kB / 496.1 MB, free: 3.152 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.008e-05/0.1716, allocations: 7.922 kB / 496.1 MB, free: 3.145 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.85e-05/0.1717, allocations: 8 kB / 496.1 MB, free: 3.137 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003419/0.172, allocations: 171.2 kB / 496.2 MB, free: 2.969 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.1721, allocations: 0 / 496.2 MB, free: 2.969 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006878/0.1728, allocations: 27.98 kB / 496.3 MB, free: 2.941 MB / 330.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.002338/0.1751, allocations: 461.2 kB / 496.7 MB, free: 2.535 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003986/0.1756, allocations: 55.92 kB / 496.8 MB, free: 2.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.1756, allocations: 0 / 496.8 MB, free: 2.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.1758, allocations: 27.98 kB / 496.8 MB, free: 2.453 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005071/0.1763, allocations: 24.16 kB / 496.8 MB, free: 2.43 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009598/0.1773, allocations: 311.8 kB / 497.1 MB, free: 2.094 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004794/0.1778, allocations: 0.7121 MB / 497.8 MB, free: 1.355 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.964e-05/0.1779, allocations: 23.42 kB / 497.9 MB, free: 1.332 MB / 330.7 MB Notification: Performance of SimCode: time 1.693e-06/0.1779, allocations: 0 / 497.9 MB, free: 1.332 MB / 330.7 MB Notification: Performance of Templates: time 0.008985/0.1869, allocations: 1.949 MB / 499.8 MB, free: 15.39 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches