Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8") translateModel(ModelicaTest.Tables.CombiTable2D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 102.5 kB / 15.98 MB, free: 6.348 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.001376/0.001376, allocations: 194.4 kB / 16.91 MB, free: 6.18 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.787/1.787, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.469/0.469, allocations: 43.5 MB / 313.6 MB, free: 8.516 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.001689, allocations: 71.91 kB / 382.2 MB, free: 8.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1589, allocations: 57.78 MB / 440 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test8): time 0.005223/0.1643, allocations: 1.625 MB / 441.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008481/0.1652, allocations: 299.7 kB / 441.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.1653, allocations: 0 / 441.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007972/0.1661, allocations: 455.2 kB / 442.4 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004942/0.1667, allocations: 243.6 kB / 442.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003955/0.1671, allocations: 103.8 kB / 442.7 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003309/0.1674, allocations: 155.7 kB / 442.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.1676, allocations: 7.984 kB / 442.9 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.1677, allocations: 103.8 kB / 443 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002747/0.168, allocations: 219.6 kB / 443.2 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.168, allocations: 4 kB / 443.2 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.831e-05/0.1681, allocations: 27.92 kB / 443.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.1683, allocations: 83.67 kB / 443.3 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.1684, allocations: 99 kB / 443.4 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.1687, allocations: 231.1 kB / 443.6 MB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.041e-05/0.1688, allocations: 0 / 443.6 MB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.1688, allocations: 3.938 kB / 443.6 MB, free: 11.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.1688, allocations: 0 / 443.6 MB, free: 11.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008902/0.1697, allocations: 0.6294 MB / 444.2 MB, free: 10.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.1697, allocations: 15.89 kB / 444.3 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.269e-05/0.1698, allocations: 40.47 kB / 444.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.1702, allocations: 300.1 kB / 444.6 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.1702, allocations: 384 / 444.6 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.1702, allocations: 8.375 kB / 444.6 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.1704, allocations: 49.8 kB / 444.7 MB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1704, allocations: 0 / 444.7 MB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.1705, allocations: 0 / 444.7 MB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.1705, allocations: 4 kB / 444.7 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.706e-05/0.1706, allocations: 19.98 kB / 444.7 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005727/0.1712, allocations: 376.8 kB / 445 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.1713, allocations: 30.56 kB / 445.1 MB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.916e-05/0.1713, allocations: 8.922 kB / 445.1 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.976e-05/0.1714, allocations: 4 kB / 445.1 MB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.1714, allocations: 34.56 kB / 445.1 MB, free: 9.426 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.1714, allocations: 0 / 445.1 MB, free: 9.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003426/0.1718, allocations: 101 kB / 445.2 MB, free: 9.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.1718, allocations: 55.41 kB / 445.3 MB, free: 9.254 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.1729, allocations: 0.8574 MB / 446.1 MB, free: 8.387 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.1729, allocations: 25.7 kB / 446.2 MB, free: 8.355 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.1731, allocations: 216.1 kB / 446.4 MB, free: 8.141 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.1732, allocations: 8.031 kB / 446.4 MB, free: 8.133 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.1732, allocations: 13.72 kB / 446.4 MB, free: 8.113 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002284/0.1734, allocations: 366.7 kB / 446.7 MB, free: 7.746 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.159e-05/0.1735, allocations: 4 kB / 446.7 MB, free: 7.742 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.546e-05/0.1735, allocations: 11.98 kB / 446.8 MB, free: 7.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.731e-05/0.1736, allocations: 16.86 kB / 446.8 MB, free: 7.711 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1736, allocations: 64 / 446.8 MB, free: 7.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001928/0.1738, allocations: 101.1 kB / 446.9 MB, free: 7.605 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.1738, allocations: 8 kB / 446.9 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1739, allocations: 0 / 446.9 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.1739, allocations: 0 / 446.9 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.247e-05/0.174, allocations: 7.938 kB / 446.9 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.174, allocations: 0 / 446.9 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.608e-05/0.174, allocations: 7.906 kB / 446.9 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.1741, allocations: 3.984 kB / 446.9 MB, free: 7.578 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 (2): * Single equations (assignments): 2 * 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.0002392/0.1743, allocations: 217.8 kB / 447.1 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.389e-05/0.1744, allocations: 35.53 kB / 447.2 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.1746, allocations: 96.64 kB / 447.2 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1746, allocations: 7.938 kB / 447.3 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.1746, allocations: 0 / 447.3 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1746, allocations: 0 / 447.3 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000304/0.175, allocations: 289.4 kB / 447.5 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.175, allocations: 0 / 447.5 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.21e-05/0.175, allocations: 8.031 kB / 447.5 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.175, allocations: 0 / 447.5 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.175, allocations: 3.984 kB / 447.5 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.175, allocations: 0 / 447.5 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.175, allocations: 8 kB / 447.6 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.1752, allocations: 182.9 kB / 447.7 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.395e-05/0.1753, allocations: 104.6 kB / 447.8 MB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.1754, allocations: 4.031 kB / 447.8 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.1e-05/0.1754, allocations: 7.984 kB / 447.8 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.1755, allocations: 0 / 447.8 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.1755, allocations: 0 / 447.8 MB, free: 6.531 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000584/0.1761, allocations: 0.6472 MB / 448.5 MB, free: 5.887 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1761, allocations: 3.938 kB / 448.5 MB, free: 5.883 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.1763, allocations: 16 kB / 448.5 MB, free: 5.867 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 (2): * Single equations (assignments): 2 * 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.0008636/0.1772, allocations: 367.6 kB / 448.9 MB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.1774, allocations: 19.98 kB / 448.9 MB, free: 5.516 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1774, allocations: 0 / 448.9 MB, free: 5.516 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.084e-05/0.1774, allocations: 11.98 kB / 448.9 MB, free: 5.504 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.1779, allocations: 33.89 kB / 448.9 MB, free: 5.469 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.1789, allocations: 0.8297 MB / 449.8 MB, free: 4.605 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004674/0.1794, allocations: 0.822 MB / 450.6 MB, free: 3.758 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.441e-05/0.1794, allocations: 11.97 kB / 450.6 MB, free: 3.746 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.1795, allocations: 7.438 kB / 450.6 MB, free: 3.738 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1795, allocations: 0 / 450.6 MB, free: 3.738 MB / 382.1 MB Notification: Performance of Templates: time 0.004861/0.1844, allocations: 1.222 MB / 451.8 MB, free: 2.516 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches