Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.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.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001572/0.001572, 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.001871/0.001871, allocations: 206.3 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 2.052/2.052, allocations: 205.1 MB / 222.6 MB, free: 5.004 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.3914/0.3914, allocations: 43.49 MB / 313.5 MB, free: 8.359 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.002485/0.002485, allocations: 67.91 kB / 382 MB, free: 8.812 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1681, allocations: 57.79 MB / 439.8 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.004699/0.1729, allocations: 1.664 MB / 441.5 MB, free: 13.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.1746, allocations: 0.9415 MB / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.94e-05/0.1747, allocations: 4 kB / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003162/0.1751, allocations: 19.91 kB / 442.5 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002429/0.1754, allocations: 35.86 kB / 442.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004502/0.1759, allocations: 147.8 kB / 442.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.176, allocations: 59.78 kB / 442.7 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.1762, allocations: 24.23 kB / 442.7 MB, free: 12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.785e-05/0.1763, allocations: 23.92 kB / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.1764, allocations: 27.84 kB / 442.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.1765, allocations: 4 kB / 442.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.1766, allocations: 55.92 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.882e-05/0.1767, allocations: 15.92 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.135e-05/0.1768, allocations: 27.84 kB / 442.9 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.177, allocations: 99.64 kB / 443 MB, free: 11.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.177, allocations: 0 / 443 MB, free: 11.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.177, allocations: 0 / 443 MB, free: 11.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.1771, allocations: 0 / 443 MB, free: 11.75 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.0006044/0.1777, allocations: 387.2 kB / 443.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.1777, allocations: 12.03 kB / 443.4 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/0.1778, allocations: 8.844 kB / 443.4 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.178, allocations: 196.2 kB / 443.6 MB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.537e-06/0.178, allocations: 384 / 443.6 MB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.1781, allocations: 384 / 443.6 MB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.1783, allocations: 79.52 kB / 443.6 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1783, allocations: 0 / 443.6 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.1783, allocations: 7.938 kB / 443.6 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1783, allocations: 0 / 443.6 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.1785, allocations: 39.95 kB / 443.7 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004496/0.1789, allocations: 300.7 kB / 444 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.1791, allocations: 50.55 kB / 444 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.762e-05/0.1792, allocations: 36.86 kB / 444.1 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.1792, allocations: 0 / 444.1 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.1793, allocations: 34.56 kB / 444.1 MB, free: 10.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.1793, allocations: 0 / 444.1 MB, free: 10.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008284/0.1801, allocations: 229.3 kB / 444.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.1802, allocations: 77.11 kB / 444.4 MB, free: 10.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.1803, allocations: 141.6 kB / 444.5 MB, free: 9.988 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.1803, allocations: 29.7 kB / 444.6 MB, free: 9.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.371e-05/0.1804, allocations: 92.03 kB / 444.6 MB, free: 9.859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.1804, allocations: 23.66 kB / 444.7 MB, free: 9.836 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.1805, allocations: 25.7 kB / 444.7 MB, free: 9.805 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1806, allocations: 322.8 kB / 445 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.1807, allocations: 39.97 kB / 445 MB, free: 9.441 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.1809, allocations: 53.67 kB / 445.1 MB, free: 9.383 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.1811, allocations: 84.83 kB / 445.2 MB, free: 9.297 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1811, allocations: 0 / 445.2 MB, free: 9.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002872/0.1814, allocations: 129.5 kB / 445.3 MB, free: 9.164 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.1814, allocations: 4 kB / 445.3 MB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1814, allocations: 3.938 kB / 445.3 MB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1815, allocations: 0 / 445.3 MB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.1816, allocations: 23.98 kB / 445.3 MB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1816, allocations: 4 kB / 445.3 MB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.97e-05/0.1817, allocations: 11.92 kB / 445.4 MB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.1817, allocations: 4 kB / 445.4 MB, free: 9.113 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 8.782e-05/0.1818, allocations: 121.8 kB / 445.5 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.1818, allocations: 7.906 kB / 445.5 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003388/0.1822, allocations: 141.9 kB / 445.6 MB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1822, allocations: 0 / 445.6 MB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1822, allocations: 0 / 445.6 MB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1822, allocations: 7.938 kB / 445.6 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005604/0.1828, allocations: 402.5 kB / 446 MB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1828, allocations: 0 / 446 MB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.57e-05/0.1829, allocations: 23.98 kB / 446.1 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1829, allocations: 0 / 446.1 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.1829, allocations: 11.88 kB / 446.1 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.1829, allocations: 3.938 kB / 446.1 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1829, allocations: 0 / 446.1 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003313/0.1833, allocations: 219.8 kB / 446.3 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.754e-05/0.1833, allocations: 89.02 kB / 446.4 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.1833, allocations: 3.938 kB / 446.4 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.962e-05/0.1834, allocations: 11.98 kB / 446.4 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/0.1835, allocations: 3.984 kB / 446.4 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.1835, allocations: 4 kB / 446.4 MB, free: 7.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.1836, allocations: 103.3 kB / 446.5 MB, free: 7.879 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1836, allocations: 0 / 446.5 MB, free: 7.879 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004255/0.1841, allocations: 24 kB / 446.5 MB, free: 7.855 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.001412/0.1855, allocations: 451.5 kB / 447 MB, free: 7.438 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004122/0.1859, allocations: 87.92 kB / 447 MB, free: 7.352 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.186, allocations: 7.938 kB / 447 MB, free: 7.344 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.1861, allocations: 47.97 kB / 447.1 MB, free: 7.297 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004862/0.1866, allocations: 15.92 kB / 447.1 MB, free: 7.281 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006116/0.1873, allocations: 220.2 kB / 447.3 MB, free: 7.039 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.1877, allocations: 0.7043 MB / 448 MB, free: 6.309 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.1878, allocations: 15.98 kB / 448 MB, free: 6.293 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.796e-05/0.1879, allocations: 15.42 kB / 448.1 MB, free: 6.277 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1879, allocations: 0 / 448.1 MB, free: 6.277 MB / 382.1 MB Notification: Performance of Templates: time 0.005624/0.1935, allocations: 1.448 MB / 449.5 MB, free: 4.828 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches