Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 113.2 kB / 17.33 MB, free: 5.988 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.0019/0.0019, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 222.9 MB / 241.9 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2269/0.2269, allocations: 44.18 MB / 336.2 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001368, allocations: 67.84 kB / 407.9 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1642, allocations: 60.83 MB / 468.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.003366/0.1676, allocations: 1.672 MB / 470.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.1694, allocations: 1.039 MB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.033e-05/0.1695, allocations: 0 / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.1698, allocations: 19.92 kB / 471.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002203/0.1701, allocations: 39.84 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004547/0.1705, allocations: 162.9 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.1707, allocations: 67.77 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.1709, allocations: 19.98 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.312e-05/0.1709, allocations: 27.92 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.1711, allocations: 31.84 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.1711, allocations: 4 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.1713, allocations: 47.98 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.234e-05/0.1713, allocations: 27.86 kB / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.734e-05/0.1714, allocations: 27.84 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.1716, allocations: 88.06 kB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.1716, allocations: 0 / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1716, allocations: 7.922 kB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.1716, allocations: 4 kB / 472 MB, free: 11.4 MB / 350.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.0005565/0.1722, allocations: 391.2 kB / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.1723, allocations: 8.031 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.1723, allocations: 8.844 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.1725, allocations: 188.2 kB / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.1725, allocations: 4.375 kB / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.1726, allocations: 384 / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.1728, allocations: 91.44 kB / 472.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1728, allocations: 0 / 472.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.1728, allocations: 0 / 472.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1728, allocations: 0 / 472.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.173, allocations: 43.95 kB / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.1734, allocations: 300.7 kB / 473 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.1736, allocations: 46.55 kB / 473.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.187e-05/0.1737, allocations: 24.94 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.1737, allocations: 4 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.1737, allocations: 34.56 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.1737, allocations: 0 / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007906/0.1745, allocations: 237.3 kB / 473.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.1746, allocations: 81.11 kB / 473.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.1748, allocations: 136.2 kB / 473.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.1749, allocations: 29.64 kB / 473.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.1749, allocations: 96.12 kB / 473.7 MB, free: 9.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.175, allocations: 23.66 kB / 473.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.175, allocations: 21.7 kB / 473.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1752, allocations: 322.8 kB / 474 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.1753, allocations: 35.97 kB / 474.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.1754, allocations: 61.61 kB / 474.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.1757, allocations: 88.8 kB / 474.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1757, allocations: 0 / 474.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000285/0.176, allocations: 121.5 kB / 474.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.176, allocations: 8 kB / 474.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.176, allocations: 4.031 kB / 474.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.176, allocations: 0 / 474.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.1761, allocations: 19.98 kB / 474.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.1762, allocations: 7.938 kB / 474.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.943e-05/0.1762, allocations: 11.92 kB / 474.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.1762, allocations: 4 kB / 474.4 MB, free: 8.758 MB / 350.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.0001035/0.1764, allocations: 118.4 kB / 474.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.1764, allocations: 7.906 kB / 474.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003537/0.1768, allocations: 138.3 kB / 474.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1768, allocations: 0 / 474.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1768, allocations: 0 / 474.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.1768, allocations: 3.938 kB / 474.7 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005595/0.1774, allocations: 410.5 kB / 475.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.1774, allocations: 0 / 475.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.42e-05/0.1775, allocations: 23.97 kB / 475.1 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.738e-06/0.1775, allocations: 4 kB / 475.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.1775, allocations: 3.938 kB / 475.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1775, allocations: 0 / 475.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1775, allocations: 0 / 475.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.1778, allocations: 223.3 kB / 475.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.1779, allocations: 81.02 kB / 475.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.1779, allocations: 7.938 kB / 475.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.782e-05/0.178, allocations: 7.984 kB / 475.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.1781, allocations: 8 kB / 475.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.1781, allocations: 3.938 kB / 475.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.311e-05/0.1782, allocations: 114.5 kB / 475.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1782, allocations: 0 / 475.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.1784, allocations: 28 kB / 475.6 MB, free: 7.496 MB / 350.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.001048/0.1795, allocations: 442.5 kB / 476 MB, free: 7.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003155/0.1798, allocations: 99.86 kB / 476.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1798, allocations: 0 / 476.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.18, allocations: 43.97 kB / 476.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.1804, allocations: 19.98 kB / 476.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.1809, allocations: 230.3 kB / 476.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.1813, allocations: 0.6963 MB / 477.1 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001866/0.1815, allocations: 32.22 kB / 477.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.1816, allocations: 15.44 kB / 477.1 MB, free: 6.047 MB / 350.1 MB Notification: Performance of SimCode: time 2.254e-06/0.1817, allocations: 3.938 kB / 477.1 MB, free: 6.043 MB / 350.1 MB Notification: Performance of Templates: time 0.005295/0.187, allocations: 1.482 MB / 478.6 MB, free: 4.566 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches