Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.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.CombiTable2D.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14") translateModel(ModelicaTest.Tables.CombiTable2D.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 96.86 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.001162/0.001162, allocations: 183 kB / 16.91 MB, free: 6.914 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.86/1.86, allocations: 205.4 MB / 223.1 MB, free: 5.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.4625/0.4625, allocations: 43.57 MB / 315 MB, free: 8.715 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.0005531/0.0005531, allocations: 16 kB / 384.6 MB, free: 7.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1626, allocations: 58.86 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test14): time 0.002339/0.165, allocations: 1.341 MB / 444.8 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.1664, allocations: 0.9065 MB / 445.7 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.213e-05/0.1665, allocations: 0 / 445.7 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.1667, allocations: 15.92 kB / 445.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001782/0.1669, allocations: 39.84 kB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.1672, allocations: 99.86 kB / 445.8 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.1674, allocations: 59.78 kB / 445.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.1675, allocations: 16.17 kB / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.003e-05/0.1676, allocations: 19.92 kB / 445.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.1678, allocations: 23.86 kB / 446 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.1678, allocations: 4 kB / 446 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.1679, allocations: 51.91 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.5e-05/0.168, allocations: 11.92 kB / 446 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.788e-05/0.168, allocations: 45.56 kB / 446.1 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.1682, allocations: 104 kB / 446.2 MB, free: 9.926 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1683, allocations: 0 / 446.2 MB, free: 9.926 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1683, allocations: 0 / 446.2 MB, free: 9.926 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.1683, allocations: 0 / 446.2 MB, free: 9.926 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.0005725/0.1689, allocations: 383.2 kB / 446.5 MB, free: 9.504 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.1689, allocations: 8.031 kB / 446.6 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.169, allocations: 8.844 kB / 446.6 MB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.1692, allocations: 188.2 kB / 446.7 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.1692, allocations: 8.375 kB / 446.8 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.1693, allocations: 8.375 kB / 446.8 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.1695, allocations: 79.31 kB / 446.8 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.1695, allocations: 0 / 446.8 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.1696, allocations: 0 / 446.8 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.1696, allocations: 0 / 446.8 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.1697, allocations: 43.97 kB / 446.9 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00044/0.1702, allocations: 292.7 kB / 447.2 MB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.1704, allocations: 50.56 kB / 447.2 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.96e-05/0.1705, allocations: 24.94 kB / 447.2 MB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.424e-05/0.1705, allocations: 4 kB / 447.2 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.1705, allocations: 30.56 kB / 447.3 MB, free: 8.652 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.1705, allocations: 0 / 447.3 MB, free: 8.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008467/0.1714, allocations: 237.2 kB / 447.5 MB, free: 8.414 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.169e-05/0.1715, allocations: 85.11 kB / 447.6 MB, free: 8.312 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.1717, allocations: 137.6 kB / 447.7 MB, free: 8.168 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.1717, allocations: 33.7 kB / 447.8 MB, free: 8.129 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.793e-05/0.1718, allocations: 88.14 kB / 447.8 MB, free: 8.039 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.98e-05/0.1718, allocations: 31.7 kB / 447.9 MB, free: 8.008 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/0.1719, allocations: 9.719 kB / 447.9 MB, free: 7.992 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.172, allocations: 322.8 kB / 448.2 MB, free: 7.668 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.1721, allocations: 35.98 kB / 448.2 MB, free: 7.633 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.1723, allocations: 57.67 kB / 448.3 MB, free: 7.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.1725, allocations: 92.84 kB / 448.4 MB, free: 7.477 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1725, allocations: 0 / 448.4 MB, free: 7.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002774/0.1728, allocations: 121.5 kB / 448.5 MB, free: 7.352 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.1728, allocations: 8 kB / 448.5 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1728, allocations: 3.938 kB / 448.5 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.1729, allocations: 0 / 448.5 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.173, allocations: 32.2 kB / 448.5 MB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.173, allocations: 0 / 448.5 MB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.629e-05/0.1731, allocations: 19.92 kB / 448.6 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.1731, allocations: 4 kB / 448.6 MB, free: 7.285 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 (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 8.947e-05/0.1732, allocations: 117.8 kB / 448.7 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.1732, allocations: 7.906 kB / 448.7 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003457/0.1736, allocations: 149.9 kB / 448.8 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1736, allocations: 0 / 448.8 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.1736, allocations: 0 / 448.8 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1736, allocations: 11.88 kB / 448.8 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005307/0.1742, allocations: 390.5 kB / 449.2 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1742, allocations: 7.984 kB / 449.2 MB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.521e-05/0.1743, allocations: 23.98 kB / 449.3 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1743, allocations: 0 / 449.3 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.1743, allocations: 11.88 kB / 449.3 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1743, allocations: 0 / 449.3 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1743, allocations: 0 / 449.3 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003313/0.1747, allocations: 223.9 kB / 449.5 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.1747, allocations: 89 kB / 449.6 MB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.1747, allocations: 7.938 kB / 449.6 MB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.641e-05/0.1748, allocations: 16 kB / 449.6 MB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.1749, allocations: 7.984 kB / 449.6 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.1749, allocations: 4 kB / 449.6 MB, free: 6.137 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.874e-05/0.175, allocations: 107.8 kB / 449.7 MB, free: 6.031 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.175, allocations: 0 / 449.7 MB, free: 6.031 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.1753, allocations: 24 kB / 449.7 MB, free: 6.008 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 (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 Backend phase and start with SimCode phase: time 0.001111/0.1764, allocations: 448.9 kB / 450.2 MB, free: 5.594 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003247/0.1767, allocations: 91.94 kB / 450.3 MB, free: 5.504 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1767, allocations: 0 / 450.3 MB, free: 5.504 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.1769, allocations: 47.97 kB / 450.3 MB, free: 5.457 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.1772, allocations: 27.67 kB / 450.3 MB, free: 5.434 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005836/0.1778, allocations: 209.5 kB / 450.5 MB, free: 5.203 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.1782, allocations: 0.6926 MB / 451.2 MB, free: 4.484 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.665e-05/0.1783, allocations: 15.97 kB / 451.3 MB, free: 4.469 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.635e-05/0.1783, allocations: 15.44 kB / 451.3 MB, free: 4.453 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1783, allocations: 0 / 451.3 MB, free: 4.453 MB / 382.1 MB Notification: Performance of Templates: time 0.004364/0.1827, allocations: 1.401 MB / 452.7 MB, free: 3.051 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test14/Test14.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches