Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 96.86 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.001665/0.001665, allocations: 167.6 kB / 16.57 MB, free: 6.047 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.019/2.019, allocations: 205.4 MB / 222.8 MB, free: 5.883 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.5035/0.5035, allocations: 43.56 MB / 314.6 MB, free: 8.641 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.0006875/0.0006878, allocations: 16 kB / 384 MB, free: 8.012 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1607, allocations: 58.87 MB / 442.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002229/0.163, allocations: 1.394 MB / 444.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.1643, allocations: 0.7422 MB / 445 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.616e-05/0.1644, allocations: 3.938 kB / 445 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003207/0.1648, allocations: 31.84 kB / 445 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.165, allocations: 47.83 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.1652, allocations: 75.83 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.1654, allocations: 83.7 kB / 445.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.1656, allocations: 20.19 kB / 445.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.1657, allocations: 35.84 kB / 445.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.585e-05/0.1658, allocations: 31.8 kB / 445.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.1658, allocations: 0 / 445.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.99e-05/0.1659, allocations: 35.98 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.752e-05/0.166, allocations: 19.92 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.514e-05/0.166, allocations: 37.69 kB / 445.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.1662, allocations: 84.05 kB / 445.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1663, allocations: 0 / 445.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.988e-06/0.1663, allocations: 4 kB / 445.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1663, allocations: 4 kB / 445.5 MB, free: 10.38 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.0006746/0.167, allocations: 406.8 kB / 445.9 MB, free: 9.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.167, allocations: 8.031 kB / 445.9 MB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.628e-05/0.1671, allocations: 7.906 kB / 445.9 MB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.1674, allocations: 202.8 kB / 446.1 MB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.1674, allocations: 0 / 446.1 MB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.1675, allocations: 8 kB / 446.1 MB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.1676, allocations: 53.61 kB / 446.1 MB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.1677, allocations: 4 kB / 446.1 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.1677, allocations: 4 kB / 446.1 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.1677, allocations: 3.953 kB / 446.1 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.917e-05/0.1678, allocations: 19.98 kB / 446.2 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/0.1682, allocations: 277 kB / 446.4 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.1684, allocations: 62.61 kB / 446.5 MB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.211e-05/0.1685, allocations: 20.84 kB / 446.5 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.1685, allocations: 4 kB / 446.5 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002058/0.1687, allocations: 75.25 kB / 446.6 MB, free: 9.074 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.714e-06/0.1687, allocations: 0 / 446.6 MB, free: 9.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005891/0.1693, allocations: 169.3 kB / 446.8 MB, free: 8.902 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.1694, allocations: 59.39 kB / 446.8 MB, free: 8.832 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.1696, allocations: 182.2 kB / 447 MB, free: 8.645 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.1696, allocations: 25.7 kB / 447 MB, free: 8.613 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.663e-05/0.1697, allocations: 108.1 kB / 447.1 MB, free: 8.504 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.1697, allocations: 23.7 kB / 447.2 MB, free: 8.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.1698, allocations: 3.938 kB / 447.2 MB, free: 8.477 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1699, allocations: 326.8 kB / 447.5 MB, free: 8.148 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.236e-05/0.17, allocations: 12 kB / 447.5 MB, free: 8.137 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.151e-05/0.17, allocations: 45.64 kB / 447.5 MB, free: 8.086 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.287e-05/0.1701, allocations: 24 kB / 447.6 MB, free: 8.062 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1701, allocations: 3.984 kB / 447.6 MB, free: 8.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001951/0.1703, allocations: 97.53 kB / 447.7 MB, free: 7.957 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.1703, allocations: 4 kB / 447.7 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.1704, allocations: 0 / 447.7 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1704, allocations: 7.938 kB / 447.7 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.677e-05/0.1705, allocations: 19.92 kB / 447.7 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1705, allocations: 4.031 kB / 447.7 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.307e-05/0.1706, allocations: 8 kB / 447.7 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.1706, allocations: 4 kB / 447.7 MB, free: 7.91 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.000116/0.1707, allocations: 125.8 kB / 447.8 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.1707, allocations: 11.86 kB / 447.8 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.384e-05/0.1708, allocations: 12.72 kB / 447.8 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1708, allocations: 4 kB / 447.9 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1708, allocations: 0 / 447.9 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1708, allocations: 3.984 kB / 447.9 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004403/0.1713, allocations: 395.2 kB / 448.2 MB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.1713, allocations: 4 kB / 448.2 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.205e-05/0.1713, allocations: 4 kB / 448.2 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.78e-06/0.1713, allocations: 4 kB / 448.3 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.1713, allocations: 7.984 kB / 448.3 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1714, allocations: 3.938 kB / 448.3 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.1714, allocations: 4 kB / 448.3 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.1716, allocations: 196.3 kB / 448.5 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.58e-05/0.1717, allocations: 100.9 kB / 448.6 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.1717, allocations: 4 kB / 448.6 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-05/0.1718, allocations: 0 / 448.6 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.1718, allocations: 7.984 kB / 448.6 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.1718, allocations: 8 kB / 448.6 MB, free: 6.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.172, allocations: 148 kB / 448.7 MB, free: 6.785 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.172, allocations: 0 / 448.7 MB, free: 6.785 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.1723, allocations: 24 kB / 448.7 MB, free: 6.762 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.001169/0.1734, allocations: 476.7 kB / 449.2 MB, free: 6.328 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.1736, allocations: 55.97 kB / 449.3 MB, free: 6.273 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1736, allocations: 0 / 449.3 MB, free: 6.273 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.137e-05/0.1737, allocations: 31.92 kB / 449.3 MB, free: 6.242 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.1741, allocations: 27.92 kB / 449.3 MB, free: 6.215 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004963/0.1746, allocations: 234.5 kB / 449.6 MB, free: 5.957 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.1749, allocations: 0.7004 MB / 450.3 MB, free: 5.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.62e-05/0.175, allocations: 20.88 kB / 450.3 MB, free: 5.207 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.148e-05/0.175, allocations: 15.42 kB / 450.3 MB, free: 5.191 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1751, allocations: 0 / 450.3 MB, free: 5.191 MB / 382.1 MB Notification: Performance of Templates: time 0.005474/0.1805, allocations: 1.583 MB / 451.9 MB, free: 3.609 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches