Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,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.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,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.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001638/0.001639, allocations: 177.5 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.662/1.662, 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.0008391/0.0008393, allocations: 94.3 kB / 270.9 MB, free: 8.363 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.4358/0.4358, allocations: 43.55 MB / 362.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004267/0.0004268, allocations: 23.98 kB / 431.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1629, allocations: 58.84 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002516/0.1655, allocations: 1.401 MB / 491.6 MB, free: 9.574 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.1667, allocations: 0.7383 MB / 492.4 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.541e-05/0.1668, allocations: 4 kB / 492.4 MB, free: 8.824 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.1672, allocations: 47.81 kB / 492.4 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000184/0.1674, allocations: 47.81 kB / 492.5 MB, free: 8.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.1676, allocations: 71.86 kB / 492.5 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.1678, allocations: 83.73 kB / 492.6 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.983e-05/0.1679, allocations: 12.22 kB / 492.6 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.769e-05/0.168, allocations: 43.8 kB / 492.7 MB, free: 8.523 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.1681, allocations: 27.84 kB / 492.7 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.1681, allocations: 0 / 492.7 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.1683, allocations: 39.98 kB / 492.7 MB, free: 8.457 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.58e-05/0.1683, allocations: 27.78 kB / 492.8 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.391e-05/0.1684, allocations: 41.7 kB / 492.8 MB, free: 8.383 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.1685, allocations: 88.03 kB / 492.9 MB, free: 8.297 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.1686, allocations: 4 kB / 492.9 MB, free: 8.293 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.1686, allocations: 0 / 492.9 MB, free: 8.293 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1686, allocations: 0 / 492.9 MB, free: 8.293 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.0005821/0.1692, allocations: 410.8 kB / 493.3 MB, free: 7.844 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.1692, allocations: 12.02 kB / 493.3 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.1693, allocations: 15.81 kB / 493.3 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.1695, allocations: 206.9 kB / 493.5 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.1695, allocations: 0 / 493.5 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.1696, allocations: 7.984 kB / 493.5 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.1698, allocations: 65.55 kB / 493.6 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1698, allocations: 0 / 493.6 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.1698, allocations: 0 / 493.6 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.1698, allocations: 3.953 kB / 493.6 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.314e-05/0.1699, allocations: 19.98 kB / 493.6 MB, free: 7.473 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000404/0.1703, allocations: 296.8 kB / 493.9 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.1705, allocations: 54.62 kB / 494 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.465e-05/0.1705, allocations: 24.84 kB / 494 MB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.1706, allocations: 7.938 kB / 494 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.1708, allocations: 63.34 kB / 494.1 MB, free: 6.961 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1708, allocations: 0 / 494.1 MB, free: 6.961 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005366/0.1713, allocations: 181.2 kB / 494.2 MB, free: 6.777 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.1714, allocations: 55.41 kB / 494.3 MB, free: 6.711 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.1716, allocations: 218.7 kB / 494.5 MB, free: 6.484 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.1716, allocations: 25.7 kB / 494.5 MB, free: 6.453 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.823e-05/0.1717, allocations: 112 kB / 494.6 MB, free: 6.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.1718, allocations: 23.66 kB / 494.7 MB, free: 6.316 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/0.1718, allocations: 4 kB / 494.7 MB, free: 6.312 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1719, allocations: 322.8 kB / 495 MB, free: 5.988 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.777e-05/0.172, allocations: 23.98 kB / 495 MB, free: 5.965 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.972e-05/0.1721, allocations: 41.64 kB / 495.1 MB, free: 5.918 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.886e-05/0.1722, allocations: 23.98 kB / 495.1 MB, free: 5.895 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1722, allocations: 0 / 495.1 MB, free: 5.895 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001705/0.1723, allocations: 101.5 kB / 495.2 MB, free: 5.789 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.1724, allocations: 8 kB / 495.2 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1724, allocations: 0 / 495.2 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1724, allocations: 4.031 kB / 495.2 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.198e-05/0.1725, allocations: 15.94 kB / 495.2 MB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.1725, allocations: 3.984 kB / 495.2 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.342e-05/0.1726, allocations: 4 kB / 495.2 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.1726, allocations: 4 kB / 495.2 MB, free: 5.75 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.0001264/0.1727, allocations: 134.3 kB / 495.3 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/0.1728, allocations: 15.77 kB / 495.4 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.797e-05/0.1728, allocations: 17.41 kB / 495.4 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1728, allocations: 0 / 495.4 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.1728, allocations: 4 kB / 495.4 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.1728, allocations: 7.922 kB / 495.4 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000468/0.1733, allocations: 399.3 kB / 495.8 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1733, allocations: 0 / 495.8 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.478e-05/0.1734, allocations: 12 kB / 495.8 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1734, allocations: 0 / 495.8 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1734, allocations: 3.938 kB / 495.8 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.1734, allocations: 7.984 kB / 495.8 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1734, allocations: 4.031 kB / 495.8 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.1737, allocations: 204.6 kB / 496 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.804e-05/0.1737, allocations: 88.97 kB / 496.1 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.1738, allocations: 3.938 kB / 496.1 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.976e-05/0.1738, allocations: 7.984 kB / 496.1 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.1739, allocations: 12 kB / 496.1 MB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.1739, allocations: 4 kB / 496.1 MB, free: 4.742 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000153/0.1741, allocations: 171.2 kB / 496.3 MB, free: 4.574 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1741, allocations: 0 / 496.3 MB, free: 4.574 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002271/0.1743, allocations: 24 kB / 496.3 MB, free: 4.551 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.001019/0.1753, allocations: 472.9 kB / 496.8 MB, free: 4.133 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001991/0.1756, allocations: 51.98 kB / 496.8 MB, free: 4.082 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1756, allocations: 0 / 496.8 MB, free: 4.082 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.004e-05/0.1757, allocations: 35.91 kB / 496.9 MB, free: 4.047 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.176, allocations: 24.17 kB / 496.9 MB, free: 4.023 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006168/0.1766, allocations: 307.8 kB / 497.2 MB, free: 3.688 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.177, allocations: 0.7121 MB / 497.9 MB, free: 2.949 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.181e-05/0.1771, allocations: 19.42 kB / 497.9 MB, free: 2.93 MB / 378.7 MB Notification: Performance of SimCode: time 2.01e-07/0.1771, allocations: 0 / 497.9 MB, free: 2.93 MB / 378.7 MB Notification: Performance of Templates: time 0.003887/0.181, allocations: 1.945 MB / 499.9 MB, free: 0.9883 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches