Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009525/0.0009526, allocations: 97.33 kB / 16.02 MB, free: 84 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.0009835/0.0009837, allocations: 179 kB / 16.92 MB, free: 6.68 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.091/2.091, allocations: 205.4 MB / 223.1 MB, free: 5.57 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.4821/0.4821, allocations: 43.57 MB / 315 MB, free: 8.805 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.0008137/0.0008137, allocations: 19.98 kB / 384.6 MB, free: 7.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.164, allocations: 58.86 MB / 443.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.00217/0.1662, allocations: 1.375 MB / 444.8 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.1676, allocations: 0.7575 MB / 445.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.947e-05/0.1677, allocations: 3.938 kB / 445.6 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003028/0.168, allocations: 51.86 kB / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001849/0.1682, allocations: 59.81 kB / 445.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.1684, allocations: 75.84 kB / 445.8 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.1686, allocations: 87.7 kB / 445.9 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.045e-05/0.1687, allocations: 11.97 kB / 445.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.607e-05/0.1688, allocations: 43.78 kB / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.908e-05/0.1689, allocations: 43.78 kB / 446 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.1689, allocations: 0 / 446 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.176e-05/0.169, allocations: 31.97 kB / 446 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.063e-05/0.1691, allocations: 19.92 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.197e-05/0.1691, allocations: 49.45 kB / 446.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.1694, allocations: 107.9 kB / 446.2 MB, free: 9.934 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1694, allocations: 0 / 446.2 MB, free: 9.934 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1694, allocations: 0 / 446.2 MB, free: 9.934 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1694, allocations: 0 / 446.2 MB, free: 9.934 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006326/0.1701, allocations: 395.1 kB / 446.5 MB, free: 9.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.1701, allocations: 11.97 kB / 446.6 MB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.328e-05/0.1702, allocations: 8.844 kB / 446.6 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.1705, allocations: 208 kB / 446.8 MB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.1705, allocations: 4.375 kB / 446.8 MB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.1705, allocations: 8.125 kB / 446.8 MB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.1707, allocations: 57.66 kB / 446.8 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1707, allocations: 0 / 446.8 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1707, allocations: 3.938 kB / 446.8 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.1707, allocations: 0 / 446.8 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.414e-05/0.1708, allocations: 15.98 kB / 446.9 MB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002558/0.1711, allocations: 173.7 kB / 447 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.1713, allocations: 62.56 kB / 447.1 MB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.636e-05/0.1713, allocations: 24.78 kB / 447.1 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.1714, allocations: 0 / 447.1 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002252/0.1716, allocations: 63.39 kB / 447.2 MB, free: 8.754 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.1716, allocations: 0 / 447.2 MB, free: 8.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002924/0.1719, allocations: 101.5 kB / 447.3 MB, free: 8.648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.172, allocations: 55.39 kB / 447.3 MB, free: 8.582 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.1722, allocations: 174.2 kB / 447.5 MB, free: 8.402 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.1722, allocations: 29.7 kB / 447.5 MB, free: 8.367 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.331e-05/0.1723, allocations: 104.1 kB / 447.6 MB, free: 8.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.1723, allocations: 11.81 kB / 447.6 MB, free: 8.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.1724, allocations: 17.72 kB / 447.7 MB, free: 8.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1725, allocations: 318.8 kB / 448 MB, free: 7.906 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.99e-05/0.1726, allocations: 19.98 kB / 448 MB, free: 7.887 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.336e-05/0.1726, allocations: 33.69 kB / 448 MB, free: 7.848 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.148e-05/0.1727, allocations: 41.66 kB / 448.1 MB, free: 7.801 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1728, allocations: 0 / 448.1 MB, free: 7.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001427/0.1729, allocations: 85.52 kB / 448.1 MB, free: 7.711 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1729, allocations: 4 kB / 448.2 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1729, allocations: 3.938 kB / 448.2 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.173, allocations: 4.031 kB / 448.2 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.255e-05/0.173, allocations: 12 kB / 448.2 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.173, allocations: 0 / 448.2 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.527e-05/0.1731, allocations: 11.91 kB / 448.2 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1731, allocations: 3.984 kB / 448.2 MB, free: 7.672 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.1732, allocations: 125.7 kB / 448.3 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.6e-05/0.1732, allocations: 7.906 kB / 448.3 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.97e-05/0.1733, allocations: 16.3 kB / 448.3 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1733, allocations: 8 kB / 448.3 MB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1733, allocations: 0 / 448.3 MB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1733, allocations: 0 / 448.3 MB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.1736, allocations: 189.8 kB / 448.5 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1736, allocations: 7.938 kB / 448.5 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.698e-05/0.1736, allocations: 0 / 448.5 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1736, allocations: 4 kB / 448.5 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.1736, allocations: 3.984 kB / 448.5 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.1736, allocations: 3.938 kB / 448.5 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1736, allocations: 0 / 448.5 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.1739, allocations: 113 kB / 448.7 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.178e-05/0.174, allocations: 88.92 kB / 448.7 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.174, allocations: 0 / 448.7 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.6e-05/0.174, allocations: 4 kB / 448.7 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.1741, allocations: 3.984 kB / 448.8 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.1741, allocations: 8 kB / 448.8 MB, free: 7.008 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001701/0.1743, allocations: 144 kB / 448.9 MB, free: 6.867 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1743, allocations: 0 / 448.9 MB, free: 6.867 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001996/0.1745, allocations: 16 kB / 448.9 MB, free: 6.852 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001073/0.1756, allocations: 423.5 kB / 449.3 MB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001683/0.1757, allocations: 39.92 kB / 449.4 MB, free: 6.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.1758, allocations: 0 / 449.4 MB, free: 6.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.861e-05/0.1758, allocations: 23.92 kB / 449.4 MB, free: 6.406 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.1761, allocations: 31.86 kB / 449.4 MB, free: 6.375 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004957/0.1766, allocations: 221.2 kB / 449.6 MB, free: 6.129 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.177, allocations: 0.6965 MB / 450.3 MB, free: 5.406 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.688e-05/0.177, allocations: 16.42 kB / 450.4 MB, free: 5.391 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.517e-05/0.1771, allocations: 19.42 kB / 450.4 MB, free: 5.371 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1771, allocations: 0 / 450.4 MB, free: 5.371 MB / 382.1 MB Notification: Performance of Templates: time 0.004598/0.1817, allocations: 1.385 MB / 451.8 MB, free: 3.984 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches