Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 96.14 kB / 15.87 MB, free: 16 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.001668/0.001668, allocations: 203.1 kB / 16.79 MB, free: 6.84 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.768/1.768, allocations: 205.1 MB / 222.6 MB, free: 4.75 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.467/0.467, allocations: 43.49 MB / 313.5 MB, free: 8.246 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.001747/0.001748, allocations: 74.97 kB / 382 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.156, allocations: 57.79 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.004246/0.1603, allocations: 1.656 MB / 441.5 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009819/0.1613, allocations: 355.5 kB / 441.8 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.1615, allocations: 0 / 441.8 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008226/0.1623, allocations: 447.2 kB / 442.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004483/0.1628, allocations: 239.6 kB / 442.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005317/0.1634, allocations: 151.7 kB / 442.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004023/0.1638, allocations: 159.7 kB / 442.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.164, allocations: 24.45 kB / 442.8 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.1642, allocations: 103.7 kB / 442.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002942/0.1645, allocations: 203.6 kB / 443.1 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.1645, allocations: 4 kB / 443.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.1647, allocations: 35.94 kB / 443.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.1648, allocations: 79.69 kB / 443.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.165, allocations: 103 kB / 443.3 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004143/0.1654, allocations: 247 kB / 443.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1654, allocations: 0 / 443.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1654, allocations: 0 / 443.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.517e-06/0.1654, allocations: 0 / 443.6 MB, free: 10.84 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009604/0.1664, allocations: 0.6298 MB / 444.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.1665, allocations: 11.97 kB / 444.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.59e-05/0.1666, allocations: 48.38 kB / 444.3 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000331/0.1669, allocations: 292.2 kB / 444.6 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1669, allocations: 4.375 kB / 444.6 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.167, allocations: 384 / 444.6 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.1671, allocations: 61.61 kB / 444.6 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.1672, allocations: 0 / 444.6 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1672, allocations: 0 / 444.6 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1672, allocations: 0 / 444.6 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.1673, allocations: 35.95 kB / 444.7 MB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006034/0.1679, allocations: 396.6 kB / 445 MB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.1682, allocations: 50.48 kB / 445.1 MB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.494e-05/0.1682, allocations: 16.86 kB / 445.1 MB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.1683, allocations: 176 / 445.1 MB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.1683, allocations: 42.48 kB / 445.2 MB, free: 9.102 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.22e-07/0.1683, allocations: 0 / 445.2 MB, free: 9.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007326/0.1691, allocations: 232 kB / 445.4 MB, free: 8.867 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.1691, allocations: 55.34 kB / 445.4 MB, free: 8.801 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009248/0.17, allocations: 0.8613 MB / 446.3 MB, free: 7.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.1701, allocations: 29.7 kB / 446.3 MB, free: 7.895 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.1703, allocations: 220.1 kB / 446.5 MB, free: 7.676 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.1703, allocations: 19.7 kB / 446.6 MB, free: 7.656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.893e-05/0.1704, allocations: 21.66 kB / 446.6 MB, free: 7.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.1705, allocations: 358.8 kB / 446.9 MB, free: 7.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.973e-05/0.1706, allocations: 23.97 kB / 447 MB, free: 7.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.985e-05/0.1707, allocations: 19.98 kB / 447 MB, free: 7.227 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.1709, allocations: 56.83 kB / 447 MB, free: 7.168 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1709, allocations: 0 / 447 MB, free: 7.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002578/0.1711, allocations: 117.4 kB / 447.1 MB, free: 7.047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.1712, allocations: 11.98 kB / 447.2 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1712, allocations: 0 / 447.2 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1712, allocations: 4 kB / 447.2 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.067e-05/0.1713, allocations: 8 kB / 447.2 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.1713, allocations: 4 kB / 447.2 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.784e-05/0.1714, allocations: 11.92 kB / 447.2 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.1714, allocations: 4 kB / 447.2 MB, free: 7.004 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0002188/0.1716, allocations: 221.6 kB / 447.4 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.976e-05/0.1717, allocations: 43.42 kB / 447.4 MB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003193/0.172, allocations: 141 kB / 447.6 MB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.172, allocations: 3.984 kB / 447.6 MB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.172, allocations: 4 kB / 447.6 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.172, allocations: 3.938 kB / 447.6 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005427/0.1726, allocations: 454.5 kB / 448 MB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1726, allocations: 0 / 448 MB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.875e-05/0.1727, allocations: 19.98 kB / 448.1 MB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1727, allocations: 0 / 448.1 MB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.1727, allocations: 7.875 kB / 448.1 MB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-06/0.1727, allocations: 0 / 448.1 MB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.1727, allocations: 4 kB / 448.1 MB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.173, allocations: 218.9 kB / 448.3 MB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.931e-05/0.1731, allocations: 104.6 kB / 448.4 MB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.1731, allocations: 8.125 kB / 448.4 MB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.014e-05/0.1732, allocations: 11.98 kB / 448.4 MB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.1732, allocations: 4 kB / 448.4 MB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.1732, allocations: 4 kB / 448.4 MB, free: 5.668 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005805/0.1738, allocations: 0.6472 MB / 449.1 MB, free: 5.023 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1738, allocations: 0 / 449.1 MB, free: 5.023 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.1741, allocations: 27.98 kB / 449.1 MB, free: 4.996 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009431/0.175, allocations: 390.8 kB / 449.5 MB, free: 4.641 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001997/0.1753, allocations: 47.91 kB / 449.5 MB, free: 4.594 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1753, allocations: 4 kB / 449.5 MB, free: 4.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.336e-05/0.1753, allocations: 31.98 kB / 449.5 MB, free: 4.559 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.1758, allocations: 25.89 kB / 449.6 MB, free: 4.531 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.177, allocations: 0.8712 MB / 450.4 MB, free: 3.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.1774, allocations: 0.8261 MB / 451.3 MB, free: 2.773 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.189e-05/0.1775, allocations: 27.95 kB / 451.3 MB, free: 2.746 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.504e-05/0.1775, allocations: 15.44 kB / 451.3 MB, free: 2.73 MB / 382.1 MB Notification: Performance of SimCode: time 3.587e-06/0.1775, allocations: 0 / 451.3 MB, free: 2.73 MB / 382.1 MB Notification: Performance of Templates: time 0.005089/0.1826, allocations: 1.416 MB / 452.7 MB, free: 1.312 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches