Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2D.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009082/0.009082, allocations: 100.3 kB / 15.87 MB, free: 6.309 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.001742/0.001742, allocations: 196.4 kB / 16.79 MB, free: 6.238 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.847/1.847, 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.4459/0.4459, allocations: 43.49 MB / 313.5 MB, free: 8.305 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.00143/0.00143, allocations: 70.56 kB / 382 MB, free: 8.496 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1568, allocations: 57.79 MB / 439.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test25): time 0.003568/0.1604, allocations: 1.676 MB / 441.5 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006452/0.1611, allocations: 315.6 kB / 441.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.353e-05/0.1612, allocations: 0 / 441.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002577/0.1615, allocations: 47.88 kB / 441.9 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.1616, allocations: 43.81 kB / 441.9 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.1619, allocations: 99.88 kB / 442 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000161/0.1621, allocations: 71.77 kB / 442.1 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.1622, allocations: 16.17 kB / 442.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.911e-05/0.1623, allocations: 27.86 kB / 442.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.1624, allocations: 35.89 kB / 442.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.1624, allocations: 0 / 442.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.577e-05/0.1625, allocations: 39.92 kB / 442.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.202e-05/0.1626, allocations: 19.92 kB / 442.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.827e-05/0.1626, allocations: 27.75 kB / 442.2 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.1628, allocations: 91.92 kB / 442.3 MB, free: 12.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1628, allocations: 0 / 442.3 MB, free: 12.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1629, allocations: 0 / 442.3 MB, free: 12.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.1629, allocations: 0 / 442.3 MB, free: 12.09 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.0005477/0.1634, allocations: 395.1 kB / 442.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1635, allocations: 8.031 kB / 442.7 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.1635, allocations: 8.844 kB / 442.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.1637, allocations: 188.2 kB / 442.9 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.1637, allocations: 8.312 kB / 442.9 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.1638, allocations: 4.375 kB / 442.9 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.1639, allocations: 57.62 kB / 443 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.164, allocations: 0 / 443 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.164, allocations: 3.984 kB / 443 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.164, allocations: 0 / 443 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.1641, allocations: 35.97 kB / 443 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004247/0.1646, allocations: 296.7 kB / 443.3 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.1647, allocations: 42.55 kB / 443.3 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.83e-05/0.1648, allocations: 24.94 kB / 443.4 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.1648, allocations: 0 / 443.4 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.1648, allocations: 34.56 kB / 443.4 MB, free: 10.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.1648, allocations: 0 / 443.4 MB, free: 10.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007534/0.1656, allocations: 209.1 kB / 443.6 MB, free: 10.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.1656, allocations: 51.41 kB / 443.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.1658, allocations: 173.7 kB / 443.8 MB, free: 10.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.1658, allocations: 29.64 kB / 443.9 MB, free: 10.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.1659, allocations: 100 kB / 443.9 MB, free: 10.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.1659, allocations: 27.64 kB / 444 MB, free: 10.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/0.166, allocations: 17.72 kB / 444 MB, free: 10.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1661, allocations: 322.8 kB / 444.3 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.1662, allocations: 36.03 kB / 444.3 MB, free: 9.848 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.1663, allocations: 31.92 kB / 444.4 MB, free: 9.816 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.1665, allocations: 76.8 kB / 444.5 MB, free: 9.738 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1665, allocations: 0 / 444.5 MB, free: 9.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002413/0.1668, allocations: 105.5 kB / 444.6 MB, free: 9.629 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.1668, allocations: 12 kB / 444.6 MB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1668, allocations: 0 / 444.6 MB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1668, allocations: 0 / 444.6 MB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.167, allocations: 19.98 kB / 444.6 MB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.167, allocations: 0 / 444.6 MB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.113e-05/0.1671, allocations: 15.92 kB / 444.6 MB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.1671, allocations: 11.94 kB / 444.6 MB, free: 9.57 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 0.0001134/0.1672, allocations: 129.8 kB / 444.7 MB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.1672, allocations: 7.906 kB / 444.7 MB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003246/0.1676, allocations: 118.6 kB / 444.9 MB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1676, allocations: 0 / 444.9 MB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.1676, allocations: 3.984 kB / 444.9 MB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.1676, allocations: 7.922 kB / 444.9 MB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005239/0.1681, allocations: 390.5 kB / 445.3 MB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1682, allocations: 3.984 kB / 445.3 MB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.752e-05/0.1682, allocations: 15.98 kB / 445.3 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1683, allocations: 4 kB / 445.3 MB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.1683, allocations: 3.938 kB / 445.3 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1683, allocations: 0 / 445.3 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1683, allocations: 0 / 445.3 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.1686, allocations: 215.8 kB / 445.5 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.787e-05/0.1686, allocations: 81.02 kB / 445.6 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.1687, allocations: 3.938 kB / 445.6 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.924e-05/0.1688, allocations: 15.98 kB / 445.6 MB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.255e-05/0.1688, allocations: 7.984 kB / 445.6 MB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.1688, allocations: 7.938 kB / 445.6 MB, free: 8.473 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001069/0.169, allocations: 130.5 kB / 445.7 MB, free: 8.348 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.169, allocations: 0 / 445.7 MB, free: 8.348 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002441/0.1692, allocations: 20 kB / 445.8 MB, free: 8.328 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.001091/0.1703, allocations: 402.1 kB / 446.1 MB, free: 7.961 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002942/0.1706, allocations: 79.88 kB / 446.2 MB, free: 7.883 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1706, allocations: 4 kB / 446.2 MB, free: 7.879 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.1708, allocations: 39.97 kB / 446.3 MB, free: 7.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/0.1712, allocations: 15.98 kB / 446.3 MB, free: 7.824 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005562/0.1718, allocations: 239.5 kB / 446.5 MB, free: 7.562 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.1722, allocations: 0.7004 MB / 447.2 MB, free: 6.836 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.316e-05/0.1723, allocations: 8 kB / 447.2 MB, free: 6.828 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.072e-05/0.1723, allocations: 19.42 kB / 447.2 MB, free: 6.809 MB / 382.1 MB Notification: Performance of SimCode: time 1.853e-06/0.1723, allocations: 0 / 447.2 MB, free: 6.809 MB / 382.1 MB Notification: Performance of Templates: time 0.003741/0.1761, allocations: 1.155 MB / 448.4 MB, free: 5.652 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test25/Test25.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches