Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 95.84 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.00149/0.00149, allocations: 169.9 kB / 16.58 MB, free: 6.039 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.018/2.018, allocations: 205.4 MB / 222.7 MB, free: 5.629 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.5617/0.5617, allocations: 43.57 MB / 314.6 MB, free: 8.969 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.0005901/0.0005901, allocations: 14.97 kB / 384 MB, free: 8.219 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1642, allocations: 58.87 MB / 442.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002057/0.1663, allocations: 1.355 MB / 444.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.1675, allocations: 0.7227 MB / 444.9 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.02e-05/0.1676, allocations: 4 kB / 444.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000298/0.1679, allocations: 47.88 kB / 445 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001684/0.1681, allocations: 47.81 kB / 445 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.1683, allocations: 71.84 kB / 445.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.1685, allocations: 83.69 kB / 445.2 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.63e-05/0.1686, allocations: 11.92 kB / 445.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.863e-05/0.1687, allocations: 51.77 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.326e-05/0.1688, allocations: 27.86 kB / 445.2 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.1688, allocations: 0 / 445.2 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.55e-05/0.1689, allocations: 28 kB / 445.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.055e-05/0.1689, allocations: 23.89 kB / 445.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.996e-05/0.169, allocations: 41.64 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.1691, allocations: 84.11 kB / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.1692, allocations: 0 / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.1692, allocations: 0 / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1692, allocations: 0 / 445.4 MB, free: 10.63 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.0006213/0.1698, allocations: 418.7 kB / 445.8 MB, free: 10.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.1699, allocations: 12.03 kB / 445.8 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.237e-05/0.1699, allocations: 11.81 kB / 445.9 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.1702, allocations: 214.7 kB / 446.1 MB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.1702, allocations: 4 kB / 446.1 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.1702, allocations: 0 / 446.1 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.1704, allocations: 45.67 kB / 446.1 MB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1704, allocations: 0 / 446.1 MB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.1704, allocations: 8 kB / 446.1 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.1704, allocations: 3.953 kB / 446.1 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.826e-05/0.1705, allocations: 15.98 kB / 446.1 MB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002239/0.1707, allocations: 185.7 kB / 446.3 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.1709, allocations: 54.55 kB / 446.4 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.012e-05/0.171, allocations: 16.86 kB / 446.4 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.171, allocations: 7.984 kB / 446.4 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.1712, allocations: 71.3 kB / 446.5 MB, free: 9.414 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.693e-06/0.1712, allocations: 0 / 446.5 MB, free: 9.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002911/0.1715, allocations: 93.52 kB / 446.6 MB, free: 9.316 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.1716, allocations: 59.36 kB / 446.6 MB, free: 9.246 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.1718, allocations: 254.5 kB / 446.9 MB, free: 8.984 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.1718, allocations: 33.7 kB / 446.9 MB, free: 8.945 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.786e-05/0.1719, allocations: 108.1 kB / 447 MB, free: 8.836 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/0.172, allocations: 19.75 kB / 447 MB, free: 8.816 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.172, allocations: 0 / 447 MB, free: 8.816 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1721, allocations: 330.8 kB / 447.3 MB, free: 8.484 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.959e-05/0.1722, allocations: 12 kB / 447.4 MB, free: 8.473 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.666e-05/0.1722, allocations: 33.67 kB / 447.4 MB, free: 8.434 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.919e-05/0.1723, allocations: 24 kB / 447.4 MB, free: 8.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1723, allocations: 0 / 447.4 MB, free: 8.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001445/0.1725, allocations: 81.44 kB / 447.5 MB, free: 8.324 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1725, allocations: 11.98 kB / 447.5 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1725, allocations: 0 / 447.5 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1725, allocations: 0 / 447.5 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.328e-05/0.1726, allocations: 8 kB / 447.5 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.1726, allocations: 7.953 kB / 447.5 MB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.348e-05/0.1727, allocations: 4.25 kB / 447.5 MB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.1727, allocations: 8.031 kB / 447.5 MB, free: 8.285 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 (7): * Single equations (assignments): 7 * 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.0001066/0.1728, allocations: 141.8 kB / 447.7 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.1728, allocations: 19.78 kB / 447.7 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.874e-05/0.1729, allocations: 24.94 kB / 447.7 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1729, allocations: 0 / 447.7 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.1729, allocations: 0 / 447.7 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.1729, allocations: 3.953 kB / 447.7 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.1731, allocations: 189.6 kB / 447.9 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1731, allocations: 4 kB / 447.9 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.696e-05/0.1731, allocations: 0 / 447.9 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1731, allocations: 8 kB / 447.9 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.1731, allocations: 7.984 kB / 447.9 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1731, allocations: 0 / 447.9 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1731, allocations: 0 / 447.9 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.1733, allocations: 108.8 kB / 448 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.1734, allocations: 93 kB / 448.1 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.1734, allocations: 4 kB / 448.1 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.561e-05/0.1735, allocations: 4 kB / 448.1 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.1735, allocations: 7.984 kB / 448.1 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.1735, allocations: 0 / 448.1 MB, free: 7.582 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001599/0.1737, allocations: 204 kB / 448.3 MB, free: 7.383 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1737, allocations: 0 / 448.3 MB, free: 7.383 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002054/0.1739, allocations: 19.98 kB / 448.4 MB, free: 7.363 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 (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.000957/0.1749, allocations: 414.1 kB / 448.8 MB, free: 6.992 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.175, allocations: 43.92 kB / 448.8 MB, free: 6.949 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.175, allocations: 0 / 448.8 MB, free: 6.949 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.851e-05/0.1751, allocations: 19.98 kB / 448.8 MB, free: 6.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.1754, allocations: 27.94 kB / 448.8 MB, free: 6.902 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004736/0.1759, allocations: 269.8 kB / 449.1 MB, free: 6.613 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.1762, allocations: 0.7121 MB / 449.8 MB, free: 5.875 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.941e-05/0.1762, allocations: 12.55 kB / 449.8 MB, free: 5.863 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.1763, allocations: 15.44 kB / 449.9 MB, free: 5.852 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1763, allocations: 0 / 449.9 MB, free: 5.852 MB / 382.1 MB Notification: Performance of Templates: time 0.003979/0.1802, allocations: 1.41 MB / 451.3 MB, free: 4.445 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches