Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable2D.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.00104, allocations: 103 kB / 16.02 MB, free: 76 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.00182/0.00182, allocations: 183.4 kB / 16.92 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.973/1.973, allocations: 205.4 MB / 223.1 MB, free: 5.512 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.4945/0.4945, allocations: 43.57 MB / 315 MB, free: 8.77 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.0006378/0.0006378, allocations: 12 kB / 384.6 MB, free: 7.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.163, allocations: 58.86 MB / 443.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test27): time 0.002124/0.1652, allocations: 1.341 MB / 444.8 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006259/0.1658, allocations: 307.7 kB / 445.1 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.234e-05/0.1659, allocations: 0 / 445.1 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002626/0.1661, allocations: 63.84 kB / 445.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.1663, allocations: 39.91 kB / 445.2 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.1666, allocations: 111.7 kB / 445.3 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.1667, allocations: 63.84 kB / 445.4 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1669, allocations: 12.17 kB / 445.4 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.292e-05/0.1669, allocations: 31.84 kB / 445.4 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.557e-05/0.167, allocations: 35.84 kB / 445.4 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.1671, allocations: 4 kB / 445.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.395e-05/0.1671, allocations: 31.98 kB / 445.5 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.87e-05/0.1672, allocations: 27.91 kB / 445.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.413e-05/0.1673, allocations: 45.52 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.1674, allocations: 87.92 kB / 445.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1675, allocations: 0 / 445.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1675, allocations: 0 / 445.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1675, allocations: 3.938 kB / 445.6 MB, free: 10.48 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.0004649/0.1679, allocations: 383.2 kB / 446 MB, free: 10.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.168, allocations: 11.97 kB / 446 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.168, allocations: 12.84 kB / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.1682, allocations: 200.7 kB / 446.2 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.1683, allocations: 4.125 kB / 446.2 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.1683, allocations: 4 kB / 446.2 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.1685, allocations: 57.67 kB / 446.3 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1685, allocations: 0 / 446.3 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.1685, allocations: 4 kB / 446.3 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.1685, allocations: 0 / 446.3 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.1687, allocations: 51.91 kB / 446.3 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003685/0.169, allocations: 288.7 kB / 446.6 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.1692, allocations: 46.56 kB / 446.7 MB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.229e-05/0.1692, allocations: 24.94 kB / 446.7 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.1693, allocations: 8.016 kB / 446.7 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.1693, allocations: 34.56 kB / 446.7 MB, free: 9.215 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 5.601e-06/0.1693, allocations: 7.984 kB / 446.7 MB, free: 9.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007881/0.1701, allocations: 245.1 kB / 447 MB, free: 8.961 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.1702, allocations: 55.34 kB / 447 MB, free: 8.895 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.1703, allocations: 178.4 kB / 447.2 MB, free: 8.707 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.1704, allocations: 25.7 kB / 447.2 MB, free: 8.676 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.1704, allocations: 104 kB / 447.3 MB, free: 8.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.1705, allocations: 27.64 kB / 447.4 MB, free: 8.543 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/0.1705, allocations: 9.719 kB / 447.4 MB, free: 8.527 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1706, allocations: 322.8 kB / 447.7 MB, free: 8.203 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.1707, allocations: 47.97 kB / 447.7 MB, free: 8.156 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.954e-05/0.1708, allocations: 31.98 kB / 447.8 MB, free: 8.125 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.1711, allocations: 101 kB / 447.9 MB, free: 8.023 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.1711, allocations: 0 / 447.9 MB, free: 8.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002737/0.1714, allocations: 133.5 kB / 448 MB, free: 7.887 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1714, allocations: 4 kB / 448 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1714, allocations: 3.938 kB / 448 MB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1714, allocations: 0 / 448 MB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.1716, allocations: 23.98 kB / 448 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1716, allocations: 4 kB / 448 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.358e-05/0.1716, allocations: 15.98 kB / 448 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.1717, allocations: 8 kB / 448.1 MB, free: 7.828 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 9.359e-05/0.1718, allocations: 121.8 kB / 448.2 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.1718, allocations: 7.906 kB / 448.2 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003563/0.1722, allocations: 146.2 kB / 448.3 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1722, allocations: 4 kB / 448.3 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.1722, allocations: 3.984 kB / 448.3 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1722, allocations: 0 / 448.3 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000544/0.1727, allocations: 410.4 kB / 448.7 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1728, allocations: 4 kB / 448.7 MB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.586e-05/0.1729, allocations: 27.92 kB / 448.8 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1729, allocations: 0 / 448.8 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.1729, allocations: 0 / 448.8 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1729, allocations: 0 / 448.8 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.1729, allocations: 0 / 448.8 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/0.1732, allocations: 231.2 kB / 449 MB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.1733, allocations: 89 kB / 449.1 MB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.1733, allocations: 7.938 kB / 449.1 MB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.375e-05/0.1734, allocations: 12 kB / 449.1 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.1735, allocations: 7.984 kB / 449.1 MB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.1735, allocations: 0 / 449.1 MB, free: 6.676 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.1736, allocations: 143.9 kB / 449.2 MB, free: 6.535 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1736, allocations: 3.938 kB / 449.2 MB, free: 6.531 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002464/0.1739, allocations: 24 kB / 449.3 MB, free: 6.508 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.0009581/0.1748, allocations: 406.4 kB / 449.7 MB, free: 6.133 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000319/0.1752, allocations: 91.94 kB / 449.8 MB, free: 6.043 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1752, allocations: 4 kB / 449.8 MB, free: 6.039 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.1753, allocations: 47.92 kB / 449.8 MB, free: 5.992 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.1756, allocations: 19.92 kB / 449.8 MB, free: 5.973 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004907/0.1761, allocations: 253.8 kB / 450.1 MB, free: 5.699 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.1764, allocations: 0.7043 MB / 450.8 MB, free: 4.969 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5e-05/0.1765, allocations: 15.98 kB / 450.8 MB, free: 4.953 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.21e-05/0.1765, allocations: 11.44 kB / 450.8 MB, free: 4.941 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1765, allocations: 0 / 450.8 MB, free: 4.941 MB / 382.1 MB Notification: Performance of Templates: time 0.004005/0.1806, allocations: 1.143 MB / 452 MB, free: 3.797 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches