Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009181/0.0009182, allocations: 96.94 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 176.3 kB / 16.58 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.4 MB / 222.8 MB, free: 5.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4709/0.4709, allocations: 43.58 MB / 314.6 MB, free: 8.812 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006125/0.0006127, allocations: 18.95 kB / 384 MB, free: 7.977 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1647, allocations: 58.85 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002349/0.1671, allocations: 1.391 MB / 444.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.1686, allocations: 0.75 MB / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.1687, allocations: 0 / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003793/0.1691, allocations: 39.83 kB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003065/0.1695, allocations: 43.83 kB / 445 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.1698, allocations: 67.86 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.17, allocations: 83.69 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.1701, allocations: 24.19 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.1703, allocations: 31.86 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.44e-05/0.1704, allocations: 31.8 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.1704, allocations: 0 / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.1705, allocations: 39.97 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.468e-05/0.1706, allocations: 15.92 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.289e-05/0.1707, allocations: 33.7 kB / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.171, allocations: 84.09 kB / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.171, allocations: 0 / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.601e-06/0.171, allocations: 0 / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.171, allocations: 7.938 kB / 445.5 MB, free: 10.36 MB / 382.1 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.0007899/0.1718, allocations: 398.9 kB / 445.8 MB, free: 9.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.1719, allocations: 8.031 kB / 445.9 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.041e-05/0.1719, allocations: 19.81 kB / 445.9 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.1722, allocations: 194.9 kB / 446.1 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.1723, allocations: 4 kB / 446.1 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.1723, allocations: 4 kB / 446.1 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.1725, allocations: 49.67 kB / 446.1 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.1725, allocations: 4 kB / 446.1 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.851e-05/0.1725, allocations: 4 kB / 446.1 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.1726, allocations: 11.89 kB / 446.1 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.615e-05/0.1726, allocations: 15.98 kB / 446.2 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004662/0.1731, allocations: 277 kB / 446.4 MB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.1733, allocations: 58.67 kB / 446.5 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.424e-05/0.1734, allocations: 20.8 kB / 446.5 MB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.467e-05/0.1734, allocations: 7.984 kB / 446.5 MB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002264/0.1737, allocations: 67.34 kB / 446.6 MB, free: 9.066 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.974e-06/0.1737, allocations: 0 / 446.6 MB, free: 9.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007003/0.1744, allocations: 173.2 kB / 446.7 MB, free: 8.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.1744, allocations: 59.39 kB / 446.8 MB, free: 8.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.1746, allocations: 166.2 kB / 447 MB, free: 8.648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.1747, allocations: 25.7 kB / 447 MB, free: 8.617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.114e-05/0.1747, allocations: 104.1 kB / 447.1 MB, free: 8.512 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.92e-05/0.1748, allocations: 23.66 kB / 447.1 MB, free: 8.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/0.1748, allocations: 3.938 kB / 447.1 MB, free: 8.484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1749, allocations: 322.8 kB / 447.4 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-05/0.175, allocations: 19.98 kB / 447.5 MB, free: 8.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.456e-05/0.1751, allocations: 37.7 kB / 447.5 MB, free: 8.098 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.635e-05/0.1752, allocations: 27.94 kB / 447.5 MB, free: 8.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1752, allocations: 0 / 447.5 MB, free: 8.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002011/0.1754, allocations: 101.5 kB / 447.6 MB, free: 7.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.1755, allocations: 7.984 kB / 447.6 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1755, allocations: 3.938 kB / 447.6 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.1755, allocations: 4 kB / 447.6 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.508e-05/0.1756, allocations: 15.94 kB / 447.6 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1756, allocations: 4.031 kB / 447.6 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.156e-05/0.1757, allocations: 4 kB / 447.7 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.1757, allocations: 7.984 kB / 447.7 MB, free: 7.918 MB / 382.1 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.0001277/0.1758, allocations: 121.8 kB / 447.8 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.1759, allocations: 19.77 kB / 447.8 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.519e-05/0.1759, allocations: 16.7 kB / 447.8 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1759, allocations: 0 / 447.8 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1759, allocations: 0 / 447.8 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1759, allocations: 384 / 447.8 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005852/0.1765, allocations: 391.3 kB / 448.2 MB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.1766, allocations: 8 kB / 448.2 MB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.795e-05/0.1766, allocations: 8 kB / 448.2 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.1766, allocations: 0 / 448.2 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.1766, allocations: 0 / 448.2 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.1767, allocations: 3.984 kB / 448.2 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.1767, allocations: 11.92 kB / 448.2 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.177, allocations: 200.3 kB / 448.4 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.573e-05/0.1771, allocations: 92.88 kB / 448.5 MB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.1771, allocations: 8 kB / 448.5 MB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.984e-05/0.1772, allocations: 3.984 kB / 448.5 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.407e-05/0.1773, allocations: 4 kB / 448.5 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.173e-05/0.1773, allocations: 4 kB / 448.5 MB, free: 6.941 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001778/0.1775, allocations: 143.9 kB / 448.7 MB, free: 6.801 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1775, allocations: 0 / 448.7 MB, free: 6.801 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003025/0.1779, allocations: 24 kB / 448.7 MB, free: 6.777 MB / 382.1 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.001532/0.1794, allocations: 477 kB / 449.2 MB, free: 6.344 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002461/0.1797, allocations: 55.97 kB / 449.2 MB, free: 6.289 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.1797, allocations: 0 / 449.2 MB, free: 6.289 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.1798, allocations: 27.92 kB / 449.2 MB, free: 6.262 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.1802, allocations: 27.92 kB / 449.3 MB, free: 6.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007232/0.181, allocations: 230.2 kB / 449.5 MB, free: 5.984 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.1814, allocations: 0.7004 MB / 450.2 MB, free: 5.258 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.865e-05/0.1815, allocations: 16.88 kB / 450.2 MB, free: 5.234 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.363e-05/0.1816, allocations: 15.44 kB / 450.2 MB, free: 5.219 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1816, allocations: 0 / 450.2 MB, free: 5.219 MB / 382.1 MB Notification: Performance of Templates: time 0.005926/0.1875, allocations: 1.572 MB / 451.8 MB, free: 3.648 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches