Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") translateModel(ModelicaTest.Tables.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, 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.0017/0.0017, allocations: 202.7 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.86/1.86, allocations: 205.1 MB / 222.6 MB, free: 4.988 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.4173/0.4173, allocations: 43.5 MB / 313.5 MB, free: 8.363 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.001504/0.001504, allocations: 71.89 kB / 382 MB, free: 8.824 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1577, allocations: 57.79 MB / 439.8 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test5): time 0.003041/0.1608, allocations: 1.664 MB / 441.5 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006012/0.1614, allocations: 319.7 kB / 441.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.663e-05/0.1615, allocations: 4 kB / 441.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005262/0.162, allocations: 443.2 kB / 442.2 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000284/0.1623, allocations: 255.5 kB / 442.5 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.1626, allocations: 99.88 kB / 442.6 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.1628, allocations: 151.6 kB / 442.7 MB, free: 12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.742e-05/0.1629, allocations: 20.17 kB / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.402e-05/0.163, allocations: 99.8 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.1632, allocations: 203.6 kB / 443 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.1632, allocations: 0 / 443 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.433e-05/0.1633, allocations: 35.97 kB / 443.1 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.1634, allocations: 83.62 kB / 443.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.554e-05/0.1635, allocations: 99 kB / 443.3 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.1637, allocations: 247.3 kB / 443.5 MB, free: 11.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1637, allocations: 0 / 443.5 MB, free: 11.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1638, allocations: 0 / 443.5 MB, free: 11.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.1638, allocations: 0 / 443.5 MB, free: 11.23 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.0006555/0.1644, allocations: 0.6336 MB / 444.1 MB, free: 10.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.1645, allocations: 8.031 kB / 444.1 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.792e-05/0.1645, allocations: 44.41 kB / 444.2 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.1648, allocations: 292.2 kB / 444.5 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.1648, allocations: 384 / 444.5 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.1648, allocations: 8.375 kB / 444.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.165, allocations: 61.55 kB / 444.5 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.165, allocations: 3.984 kB / 444.5 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.165, allocations: 0 / 444.5 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.165, allocations: 0 / 444.5 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.737e-05/0.1651, allocations: 27.97 kB / 444.6 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000413/0.1655, allocations: 384.7 kB / 444.9 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.1657, allocations: 42.5 kB / 445 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.016e-05/0.1658, allocations: 16.86 kB / 445 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.1658, allocations: 0 / 445 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.1658, allocations: 30.56 kB / 445 MB, free: 9.527 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.1658, allocations: 0 / 445 MB, free: 9.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005656/0.1664, allocations: 228 kB / 445.3 MB, free: 9.297 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.1664, allocations: 59.39 kB / 445.3 MB, free: 9.227 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007005/0.1672, allocations: 0.8574 MB / 446.2 MB, free: 8.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.1672, allocations: 25.7 kB / 446.2 MB, free: 8.328 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.1673, allocations: 216.1 kB / 446.4 MB, free: 8.113 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.1673, allocations: 11.8 kB / 446.4 MB, free: 8.102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.1674, allocations: 25.72 kB / 446.4 MB, free: 8.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1675, allocations: 358.8 kB / 446.8 MB, free: 7.711 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.447e-05/0.1676, allocations: 11.98 kB / 446.8 MB, free: 7.699 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.055e-05/0.1677, allocations: 19.98 kB / 446.8 MB, free: 7.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.1678, allocations: 56.95 kB / 446.9 MB, free: 7.621 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1678, allocations: 0 / 446.9 MB, free: 7.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001934/0.168, allocations: 117.1 kB / 447 MB, free: 7.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.168, allocations: 7.938 kB / 447 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.168, allocations: 3.984 kB / 447 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.168, allocations: 0 / 447 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.909e-05/0.1681, allocations: 8 kB / 447 MB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1681, allocations: 4 kB / 447 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.143e-05/0.1682, allocations: 11.92 kB / 447 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-06/0.1682, allocations: 4 kB / 447 MB, free: 7.461 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.0001913/0.1684, allocations: 221.6 kB / 447.3 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.366e-05/0.1684, allocations: 35.53 kB / 447.3 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002794/0.1687, allocations: 144.9 kB / 447.4 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1687, allocations: 0 / 447.4 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.1687, allocations: 0 / 447.4 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1688, allocations: 3.938 kB / 447.4 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004848/0.1692, allocations: 462.5 kB / 447.9 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1693, allocations: 3.938 kB / 447.9 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.255e-05/0.1693, allocations: 11.98 kB / 447.9 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1693, allocations: 0 / 447.9 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.1693, allocations: 7.938 kB / 447.9 MB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1694, allocations: 0 / 447.9 MB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1694, allocations: 192 / 447.9 MB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.1696, allocations: 215 kB / 448.1 MB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.41e-05/0.1697, allocations: 108.5 kB / 448.2 MB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.1697, allocations: 7.922 kB / 448.2 MB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.217e-05/0.1698, allocations: 8 kB / 448.2 MB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.1698, allocations: 4 kB / 448.2 MB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.1698, allocations: 3.984 kB / 448.2 MB, free: 6.141 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006873/0.1705, allocations: 0.6472 MB / 448.9 MB, free: 5.496 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1705, allocations: 0 / 448.9 MB, free: 5.496 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002845/0.1708, allocations: 24 kB / 448.9 MB, free: 5.473 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.0009177/0.1718, allocations: 411.5 kB / 449.3 MB, free: 5.105 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001884/0.172, allocations: 43.97 kB / 449.4 MB, free: 5.062 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.172, allocations: 0 / 449.4 MB, free: 5.062 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.119e-05/0.1721, allocations: 27.92 kB / 449.4 MB, free: 5.035 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.1725, allocations: 25.95 kB / 449.4 MB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.1736, allocations: 0.8555 MB / 450.3 MB, free: 4.117 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.174, allocations: 0.8223 MB / 451.1 MB, free: 3.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.012e-05/0.174, allocations: 4 kB / 451.1 MB, free: 3.266 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.702e-05/0.1741, allocations: 15.44 kB / 451.1 MB, free: 3.25 MB / 382.1 MB Notification: Performance of SimCode: time 1.663e-06/0.1741, allocations: 0 / 451.1 MB, free: 3.25 MB / 382.1 MB Notification: Performance of Templates: time 0.004614/0.1787, allocations: 1.397 MB / 452.5 MB, free: 1.852 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches