Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,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.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,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.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 99.05 kB / 15.98 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 191.7 kB / 16.9 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.953/1.953, allocations: 205.1 MB / 222.8 MB, free: 4.715 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.4033/0.4033, allocations: 43.5 MB / 313.6 MB, free: 8.504 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.001505/0.001505, allocations: 67.91 kB / 382.2 MB, free: 8.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1528, allocations: 57.79 MB / 440 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003646/0.1565, allocations: 1.756 MB / 441.8 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.1579, allocations: 0.7885 MB / 442.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.367e-05/0.158, allocations: 0 / 442.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003783/0.1584, allocations: 43.81 kB / 442.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.1587, allocations: 55.81 kB / 442.7 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.1589, allocations: 79.84 kB / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.1591, allocations: 95.7 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.1593, allocations: 20.19 kB / 442.8 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.296e-05/0.1594, allocations: 39.8 kB / 442.9 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.926e-05/0.1594, allocations: 31.8 kB / 442.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.1595, allocations: 4 kB / 442.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.1596, allocations: 43.97 kB / 443 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.592e-05/0.1597, allocations: 35.84 kB / 443 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.279e-05/0.1597, allocations: 43.67 kB / 443 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.16, allocations: 131.9 kB / 443.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.16, allocations: 0 / 443.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.055e-06/0.16, allocations: 3.938 kB / 443.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.16, allocations: 0 / 443.2 MB, free: 11.54 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.0006225/0.1607, allocations: 442.6 kB / 443.6 MB, free: 11.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.1607, allocations: 11.89 kB / 443.6 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.1608, allocations: 12.84 kB / 443.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.161, allocations: 215.8 kB / 443.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.161, allocations: 8.375 kB / 443.9 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.1611, allocations: 4.125 kB / 443.9 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.1613, allocations: 57.67 kB / 443.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1613, allocations: 0 / 443.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.1613, allocations: 4 kB / 443.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-06/0.1613, allocations: 3.938 kB / 443.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.515e-05/0.1614, allocations: 19.92 kB / 443.9 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.1619, allocations: 304.8 kB / 444.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.162, allocations: 58.69 kB / 444.3 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.168e-05/0.1621, allocations: 20.84 kB / 444.3 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.1622, allocations: 0 / 444.3 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002595/0.1624, allocations: 71.33 kB / 444.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.562e-06/0.1624, allocations: 4 kB / 444.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005984/0.163, allocations: 177 kB / 444.6 MB, free: 9.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.1631, allocations: 55.41 kB / 444.6 MB, free: 9.914 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.1634, allocations: 259.7 kB / 444.9 MB, free: 9.648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.1634, allocations: 29.7 kB / 444.9 MB, free: 9.613 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.006e-05/0.1635, allocations: 112.1 kB / 445 MB, free: 9.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.1635, allocations: 27.64 kB / 445 MB, free: 9.473 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/0.1636, allocations: 21.72 kB / 445.1 MB, free: 9.445 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1637, allocations: 334.8 kB / 445.4 MB, free: 9.109 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.989e-05/0.1638, allocations: 15.98 kB / 445.4 MB, free: 9.094 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.2e-05/0.1639, allocations: 37.7 kB / 445.4 MB, free: 9.051 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.164, allocations: 61.64 kB / 445.5 MB, free: 8.984 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.164, allocations: 0 / 445.5 MB, free: 8.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001916/0.1642, allocations: 105.5 kB / 445.6 MB, free: 8.875 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.1643, allocations: 4 kB / 445.6 MB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1643, allocations: 4 kB / 445.6 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.1643, allocations: 0 / 445.6 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.1644, allocations: 23.92 kB / 445.6 MB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1644, allocations: 0 / 445.6 MB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.974e-05/0.1645, allocations: 7.938 kB / 445.6 MB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.1645, allocations: 4 kB / 445.6 MB, free: 8.832 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 (10): * Single equations (assignments): 10 * 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.0001389/0.1647, allocations: 133.8 kB / 445.8 MB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.1647, allocations: 15.84 kB / 445.8 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.967e-05/0.1648, allocations: 21.39 kB / 445.8 MB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.1648, allocations: 0 / 445.8 MB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1648, allocations: 0 / 445.8 MB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.1648, allocations: 8.312 kB / 445.8 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005292/0.1653, allocations: 407.2 kB / 446.2 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/0.1653, allocations: 4 kB / 446.2 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.124e-05/0.1654, allocations: 8.188 kB / 446.2 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1654, allocations: 4.031 kB / 446.2 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.1654, allocations: 11.81 kB / 446.2 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1654, allocations: 7.984 kB / 446.2 MB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1654, allocations: 0 / 446.2 MB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.1657, allocations: 196.5 kB / 446.4 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.1658, allocations: 88.92 kB / 446.5 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.1658, allocations: 11.94 kB / 446.5 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-05/0.1659, allocations: 4 kB / 446.5 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.166, allocations: 11.97 kB / 446.6 MB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.166, allocations: 7.938 kB / 446.6 MB, free: 7.801 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000196/0.1662, allocations: 203 kB / 446.8 MB, free: 7.602 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1662, allocations: 0 / 446.8 MB, free: 7.602 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.1665, allocations: 27.98 kB / 446.8 MB, free: 7.574 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 (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.001202/0.1677, allocations: 477.3 kB / 447.3 MB, free: 7.141 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002404/0.1679, allocations: 59.91 kB / 447.3 MB, free: 7.082 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.1679, allocations: 0 / 447.3 MB, free: 7.082 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.087e-05/0.168, allocations: 24 kB / 447.3 MB, free: 7.059 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.1685, allocations: 43.33 kB / 447.4 MB, free: 7.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007652/0.1692, allocations: 323.6 kB / 447.7 MB, free: 6.676 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004525/0.1697, allocations: 0.7197 MB / 448.4 MB, free: 5.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.869e-05/0.1698, allocations: 13.19 kB / 448.4 MB, free: 5.914 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.338e-05/0.1698, allocations: 15.44 kB / 448.4 MB, free: 5.898 MB / 382.1 MB Notification: Performance of SimCode: time 1.984e-06/0.1698, allocations: 0 / 448.4 MB, free: 5.898 MB / 382.1 MB Notification: Performance of Templates: time 0.005396/0.1752, allocations: 1.705 MB / 450.1 MB, free: 4.195 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches