Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001883/0.001883, allocations: 179.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.873/1.873, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.0007994/0.0007995, allocations: 92.8 kB / 270.9 MB, free: 8.352 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.4135/0.4135, allocations: 43.56 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004246/0.0004252, allocations: 16 kB / 431.4 MB, free: 6.121 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1576, allocations: 58.85 MB / 490.3 MB, free: 11.19 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002424/0.16, allocations: 1.53 MB / 491.8 MB, free: 9.645 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.1619, allocations: 0.8279 MB / 492.6 MB, free: 8.809 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.162, allocations: 11.94 kB / 492.6 MB, free: 8.797 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005736/0.1626, allocations: 143.7 kB / 492.8 MB, free: 8.656 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004205/0.163, allocations: 119.6 kB / 492.9 MB, free: 8.539 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005098/0.1636, allocations: 127.8 kB / 493 MB, free: 8.414 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003461/0.1639, allocations: 183.4 kB / 493.2 MB, free: 8.234 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.1641, allocations: 21.53 kB / 493.2 MB, free: 8.207 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.1643, allocations: 95.55 kB / 493.3 MB, free: 8.113 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.1645, allocations: 99.64 kB / 493.4 MB, free: 8.016 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.1646, allocations: 4 kB / 493.4 MB, free: 8.012 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.1647, allocations: 43.97 kB / 493.4 MB, free: 7.969 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.229e-05/0.1648, allocations: 39.84 kB / 493.5 MB, free: 7.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.821e-05/0.1649, allocations: 49.58 kB / 493.5 MB, free: 7.875 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.1652, allocations: 147.9 kB / 493.7 MB, free: 7.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.088e-05/0.1652, allocations: 0 / 493.7 MB, free: 7.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.1653, allocations: 4 kB / 493.7 MB, free: 7.727 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.1653, allocations: 0 / 493.7 MB, free: 7.727 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001002/0.1663, allocations: 490.2 kB / 494.2 MB, free: 7.199 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.1663, allocations: 16.02 kB / 494.2 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.85e-05/0.1664, allocations: 23.62 kB / 494.2 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003892/0.1668, allocations: 250.6 kB / 494.4 MB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.1668, allocations: 11.94 kB / 494.4 MB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.1669, allocations: 4 kB / 494.5 MB, free: 6.863 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.1672, allocations: 103.3 kB / 494.6 MB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.1672, allocations: 0 / 494.6 MB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.1672, allocations: 3.953 kB / 494.6 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.1673, allocations: 0 / 494.6 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.1674, allocations: 39.97 kB / 494.6 MB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005914/0.168, allocations: 448.8 kB / 495 MB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.1683, allocations: 117.3 kB / 495.2 MB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.1684, allocations: 41.7 kB / 495.2 MB, free: 6.035 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.1685, allocations: 7.938 kB / 495.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002913/0.1687, allocations: 105.1 kB / 495.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.1688, allocations: 0 / 495.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009883/0.1698, allocations: 368.3 kB / 495.7 MB, free: 5.539 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/0.1698, allocations: 85.11 kB / 495.7 MB, free: 5.438 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003673/0.1702, allocations: 350.9 kB / 496.1 MB, free: 5.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.1702, allocations: 33.7 kB / 496.1 MB, free: 5.051 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.699e-05/0.1703, allocations: 136.4 kB / 496.3 MB, free: 4.914 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.374e-05/0.1704, allocations: 51.34 kB / 496.3 MB, free: 4.863 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.395e-06/0.1704, allocations: 4 kB / 496.3 MB, free: 4.859 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1706, allocations: 334.8 kB / 496.6 MB, free: 4.523 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.1707, allocations: 51.88 kB / 496.7 MB, free: 4.473 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.1708, allocations: 75.34 kB / 496.8 MB, free: 4.387 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.1709, allocations: 44.14 kB / 496.8 MB, free: 4.344 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1709, allocations: 0 / 496.8 MB, free: 4.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003156/0.1713, allocations: 177.4 kB / 497 MB, free: 4.164 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.1713, allocations: 8 kB / 497 MB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.1713, allocations: 0 / 497 MB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1713, allocations: 0 / 497 MB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.1715, allocations: 39.91 kB / 497 MB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.1715, allocations: 0 / 497 MB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.064e-05/0.1716, allocations: 12 kB / 497 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.1716, allocations: 4 kB / 497 MB, free: 4.102 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001629/0.1718, allocations: 161.7 kB / 497.2 MB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.1718, allocations: 27.72 kB / 497.2 MB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.626e-05/0.1719, allocations: 29.73 kB / 497.3 MB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1719, allocations: 0 / 497.3 MB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.1719, allocations: 4 kB / 497.3 MB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1719, allocations: 0 / 497.3 MB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007331/0.1726, allocations: 0.6124 MB / 497.9 MB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1727, allocations: 0 / 497.9 MB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.479e-05/0.1727, allocations: 19.98 kB / 497.9 MB, free: 3.176 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.1727, allocations: 4 kB / 497.9 MB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.1727, allocations: 4 kB / 497.9 MB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1728, allocations: 4 kB / 497.9 MB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.1728, allocations: 3.953 kB / 497.9 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004192/0.1732, allocations: 364.2 kB / 498.3 MB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.128e-05/0.1733, allocations: 108.7 kB / 498.4 MB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.1733, allocations: 0 / 498.4 MB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.1735, allocations: 11.98 kB / 498.4 MB, free: 2.645 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.1735, allocations: 15.94 kB / 498.4 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.1735, allocations: 8 kB / 498.4 MB, free: 2.621 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002484/0.1738, allocations: 265.9 kB / 498.7 MB, free: 2.359 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1738, allocations: 0 / 498.7 MB, free: 2.359 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003014/0.1741, allocations: 35.98 kB / 498.7 MB, free: 2.324 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001045/0.1752, allocations: 487.8 kB / 499.2 MB, free: 1.898 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002836/0.1755, allocations: 111.9 kB / 499.3 MB, free: 1.789 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1755, allocations: 0 / 499.3 MB, free: 1.789 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.1756, allocations: 67.89 kB / 499.3 MB, free: 1.723 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005012/0.1761, allocations: 44.86 kB / 499.4 MB, free: 1.676 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008189/0.1769, allocations: 0.4916 MB / 499.9 MB, free: 1.145 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.1774, allocations: 0.7556 MB / 0.4889 GB, free: 372 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.038e-05/0.1774, allocations: 27.42 kB / 0.4889 GB, free: 344 kB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1774, allocations: 0 / 0.4889 GB, free: 344 kB / 378.7 MB Notification: Performance of Templates: time 0.2334/0.4109, allocations: 3.07 MB / 0.4919 GB, free: 42.09 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches