Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2D.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.001086, 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.001278/0.001278, allocations: 206.4 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.822/1.822, allocations: 205.1 MB / 222.6 MB, free: 4.742 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.4017/0.4017, allocations: 43.5 MB / 313.5 MB, free: 8.465 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.001689/0.00169, allocations: 66.56 kB / 382 MB, free: 8.734 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1573, allocations: 57.78 MB / 439.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test24): time 0.003538/0.1609, allocations: 1.672 MB / 441.5 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006387/0.1615, allocations: 319.5 kB / 441.8 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.915e-05/0.1616, allocations: 4 kB / 441.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.1619, allocations: 39.89 kB / 441.8 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.1621, allocations: 39.83 kB / 441.9 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.1624, allocations: 107.9 kB / 442 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.1625, allocations: 67.77 kB / 442.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.1626, allocations: 16.17 kB / 442.1 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.794e-05/0.1627, allocations: 23.92 kB / 442.1 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.852e-05/0.1628, allocations: 35.83 kB / 442.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.1628, allocations: 8 kB / 442.1 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.45e-05/0.1629, allocations: 35.92 kB / 442.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.441e-05/0.163, allocations: 11.94 kB / 442.2 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/0.163, allocations: 27.8 kB / 442.2 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.1632, allocations: 83.98 kB / 442.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1632, allocations: 0 / 442.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1632, allocations: 0 / 442.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.1632, allocations: 0 / 442.3 MB, free: 12.36 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.0005144/0.1637, allocations: 399.1 kB / 442.7 MB, free: 11.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1638, allocations: 12.03 kB / 442.7 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.1638, allocations: 8.844 kB / 442.7 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.164, allocations: 188.2 kB / 442.9 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.164, allocations: 8.312 kB / 442.9 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.164, allocations: 384 / 442.9 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.1642, allocations: 65.59 kB / 443 MB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.1642, allocations: 0 / 443 MB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.1642, allocations: 7.984 kB / 443 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1642, allocations: 0 / 443 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.1644, allocations: 43.97 kB / 443 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.1647, allocations: 284.7 kB / 443.3 MB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.1649, allocations: 42.5 kB / 443.3 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.054e-05/0.1649, allocations: 32.88 kB / 443.4 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.165, allocations: 0 / 443.4 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.165, allocations: 34.56 kB / 443.4 MB, free: 11.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.165, allocations: 0 / 443.4 MB, free: 11.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000837/0.1659, allocations: 209.1 kB / 443.6 MB, free: 10.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.698e-05/0.1659, allocations: 55.41 kB / 443.7 MB, free: 10.81 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.1662, allocations: 170.4 kB / 443.8 MB, free: 10.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.1662, allocations: 25.7 kB / 443.8 MB, free: 10.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.992e-05/0.1663, allocations: 104 kB / 443.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.452e-05/0.1664, allocations: 19.72 kB / 444 MB, free: 10.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.1664, allocations: 21.72 kB / 444 MB, free: 10.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.1666, allocations: 322.8 kB / 444.3 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.1668, allocations: 35.97 kB / 444.3 MB, free: 10.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.1669, allocations: 31.97 kB / 444.4 MB, free: 10.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/0.1672, allocations: 72.75 kB / 444.4 MB, free: 9.988 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1672, allocations: 4 kB / 444.4 MB, free: 9.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002786/0.1675, allocations: 109.5 kB / 444.6 MB, free: 9.871 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/0.1675, allocations: 4 kB / 444.6 MB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.1675, allocations: 3.938 kB / 444.6 MB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.1676, allocations: 0 / 444.6 MB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.1677, allocations: 19.98 kB / 444.6 MB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1677, allocations: 0 / 444.6 MB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.918e-05/0.1678, allocations: 19.92 kB / 444.6 MB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.1678, allocations: 4 kB / 444.6 MB, free: 9.82 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.0001261/0.168, allocations: 133.7 kB / 444.7 MB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/0.168, allocations: 7.906 kB / 444.7 MB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003418/0.1683, allocations: 122.3 kB / 444.9 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1684, allocations: 0 / 444.9 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1684, allocations: 8 kB / 444.9 MB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1684, allocations: 3.938 kB / 444.9 MB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006593/0.1691, allocations: 382.5 kB / 445.2 MB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1691, allocations: 0 / 445.2 MB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.881e-05/0.1692, allocations: 19.98 kB / 445.3 MB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1692, allocations: 0 / 445.3 MB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.1692, allocations: 7.938 kB / 445.3 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1692, allocations: 0 / 445.3 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1692, allocations: 0 / 445.3 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.1695, allocations: 211.8 kB / 445.5 MB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.975e-05/0.1696, allocations: 89 kB / 445.6 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.1697, allocations: 7.938 kB / 445.6 MB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.168e-05/0.1697, allocations: 12 kB / 445.6 MB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.748e-05/0.1698, allocations: 7.984 kB / 445.6 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.1698, allocations: 3.938 kB / 445.6 MB, free: 8.719 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001676/0.17, allocations: 130.7 kB / 445.7 MB, free: 8.594 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.17, allocations: 0 / 445.7 MB, free: 8.594 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002837/0.1703, allocations: 23.98 kB / 445.7 MB, free: 8.57 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.001119/0.1714, allocations: 394.8 kB / 446.1 MB, free: 8.211 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003967/0.1718, allocations: 83.86 kB / 446.2 MB, free: 8.129 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1719, allocations: 0 / 446.2 MB, free: 8.129 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.172, allocations: 43.95 kB / 446.3 MB, free: 8.086 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.1724, allocations: 15.98 kB / 446.3 MB, free: 8.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006116/0.1731, allocations: 235.6 kB / 446.5 MB, free: 7.812 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005364/0.1736, allocations: 0.7081 MB / 447.2 MB, free: 7.078 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.347e-05/0.1737, allocations: 15.98 kB / 447.2 MB, free: 7.062 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/0.1737, allocations: 11.44 kB / 447.2 MB, free: 7.051 MB / 382.1 MB Notification: Performance of SimCode: time 2.845e-06/0.1737, allocations: 0 / 447.2 MB, free: 7.051 MB / 382.1 MB Notification: Performance of Templates: time 0.004529/0.1783, allocations: 1.159 MB / 448.4 MB, free: 5.891 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches