Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2D.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 102.4 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.001478/0.001478, allocations: 180.4 kB / 16.92 MB, free: 6.918 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.91/1.91, allocations: 205.4 MB / 223.1 MB, free: 5.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.5309/0.5309, allocations: 43.58 MB / 315 MB, free: 8.973 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.000635/0.0006353, allocations: 23.98 kB / 384.6 MB, free: 7.875 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1682, allocations: 58.86 MB / 443.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test30): time 0.002819/0.171, allocations: 1.341 MB / 444.8 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008077/0.1719, allocations: 307.8 kB / 445.1 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.276e-05/0.1719, allocations: 0 / 445.1 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003495/0.1723, allocations: 63.86 kB / 445.1 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002064/0.1725, allocations: 59.8 kB / 445.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.1729, allocations: 107.8 kB / 445.3 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.1731, allocations: 67.81 kB / 445.4 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.1732, allocations: 16.17 kB / 445.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.88e-05/0.1733, allocations: 27.92 kB / 445.4 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.1735, allocations: 47.75 kB / 445.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.1735, allocations: 8 kB / 445.5 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.965e-05/0.1736, allocations: 31.98 kB / 445.5 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.851e-05/0.1737, allocations: 23.91 kB / 445.5 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.814e-05/0.1737, allocations: 53.45 kB / 445.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.174, allocations: 91.92 kB / 445.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.174, allocations: 0 / 445.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.174, allocations: 0 / 445.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.174, allocations: 0 / 445.7 MB, free: 10.66 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.0006319/0.1746, allocations: 399.1 kB / 446.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.1747, allocations: 12.03 kB / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.1747, allocations: 8.844 kB / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.175, allocations: 200 kB / 446.3 MB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.175, allocations: 8.375 kB / 446.3 MB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.175, allocations: 384 / 446.3 MB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.1752, allocations: 61.62 kB / 446.3 MB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.1753, allocations: 4 kB / 446.3 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.1753, allocations: 3.984 kB / 446.4 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.1753, allocations: 4 kB / 446.4 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.1755, allocations: 39.97 kB / 446.4 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004815/0.176, allocations: 312.6 kB / 446.7 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.1761, allocations: 42.56 kB / 446.7 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.336e-05/0.1762, allocations: 28.94 kB / 446.8 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/0.1762, allocations: 0 / 446.8 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.1763, allocations: 34.56 kB / 446.8 MB, free: 9.367 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.1763, allocations: 0 / 446.8 MB, free: 9.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.001029/0.1773, allocations: 241.1 kB / 447 MB, free: 9.125 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.488e-05/0.1774, allocations: 59.34 kB / 447.1 MB, free: 9.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.1777, allocations: 202.2 kB / 447.3 MB, free: 8.844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.1777, allocations: 29.64 kB / 447.3 MB, free: 8.809 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.974e-05/0.1778, allocations: 104.1 kB / 447.4 MB, free: 8.703 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.1778, allocations: 23.66 kB / 447.4 MB, free: 8.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.1779, allocations: 13.72 kB / 447.5 MB, free: 8.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.1781, allocations: 322.8 kB / 447.8 MB, free: 8.336 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.1782, allocations: 43.97 kB / 447.8 MB, free: 8.293 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.1783, allocations: 39.97 kB / 447.9 MB, free: 8.254 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.1786, allocations: 88.81 kB / 447.9 MB, free: 8.164 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1786, allocations: 0 / 447.9 MB, free: 8.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003344/0.1789, allocations: 137.7 kB / 448.1 MB, free: 8.023 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.179, allocations: 4 kB / 448.1 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.179, allocations: 7.938 kB / 448.1 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.179, allocations: 0 / 448.1 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.1792, allocations: 27.97 kB / 448.1 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.1792, allocations: 4 kB / 448.1 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.78e-05/0.1793, allocations: 11.94 kB / 448.1 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.1793, allocations: 0 / 448.1 MB, free: 7.969 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.0001668/0.1795, allocations: 133.8 kB / 448.3 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.1795, allocations: 7.906 kB / 448.3 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004075/0.1799, allocations: 146.3 kB / 448.4 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.18, allocations: 4 kB / 448.4 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.18, allocations: 0 / 448.4 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.18, allocations: 7.922 kB / 448.4 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007062/0.1807, allocations: 406.5 kB / 448.8 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1807, allocations: 0 / 448.8 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.458e-05/0.1808, allocations: 27.92 kB / 448.9 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.1808, allocations: 0 / 448.9 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.1809, allocations: 7.875 kB / 448.9 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1809, allocations: 0 / 448.9 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.1809, allocations: 4 kB / 448.9 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003993/0.1813, allocations: 231.3 kB / 449.1 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.216e-05/0.1814, allocations: 93 kB / 449.2 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.1814, allocations: 3.938 kB / 449.2 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.567e-05/0.1815, allocations: 11.98 kB / 449.2 MB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.619e-05/0.1816, allocations: 8 kB / 449.2 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.1816, allocations: 3.938 kB / 449.2 MB, free: 6.793 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001641/0.1818, allocations: 160 kB / 449.4 MB, free: 6.637 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1818, allocations: 0 / 449.4 MB, free: 6.637 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002734/0.182, allocations: 24 kB / 449.4 MB, free: 6.613 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.001247/0.1833, allocations: 406.1 kB / 449.8 MB, free: 6.242 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003437/0.1837, allocations: 95.94 kB / 449.9 MB, free: 6.148 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1837, allocations: 0 / 449.9 MB, free: 6.148 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.1838, allocations: 47.97 kB / 449.9 MB, free: 6.102 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.1843, allocations: 15.98 kB / 449.9 MB, free: 6.086 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007315/0.185, allocations: 281.4 kB / 450.2 MB, free: 5.785 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004537/0.1855, allocations: 0.7083 MB / 450.9 MB, free: 5.051 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.531e-05/0.1856, allocations: 20.28 kB / 450.9 MB, free: 5.031 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.921e-05/0.1856, allocations: 11.44 kB / 451 MB, free: 5.02 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1856, allocations: 0 / 451 MB, free: 5.02 MB / 382.1 MB Notification: Performance of Templates: time 0.004627/0.1903, allocations: 1.151 MB / 452.1 MB, free: 3.867 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches