Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20") translateModel(ModelicaTest.Tables.CombiTable2D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001112, allocations: 101.8 kB / 16.27 MB, free: 5.914 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.001388/0.001388, allocations: 185.9 kB / 17.19 MB, free: 5.559 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.704/1.704, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2367/0.2367, allocations: 43.53 MB / 313.9 MB, free: 0.5273 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.001521/0.001521, allocations: 80.59 kB / 382.7 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1575, allocations: 57.78 MB / 440.5 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test20): time 0.005663/0.1633, allocations: 1.931 MB / 442.5 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.165, allocations: 0.6783 MB / 443.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002054/0.1652, allocations: 0 / 443.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008393/0.1662, allocations: 259.2 kB / 443.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005815/0.1668, allocations: 191.3 kB / 443.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.1683, allocations: 446 kB / 444 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005859/0.1689, allocations: 271.3 kB / 444.3 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003152/0.1692, allocations: 76.61 kB / 444.3 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.1694, allocations: 127.6 kB / 444.5 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002815/0.1697, allocations: 187.3 kB / 444.7 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.077e-05/0.1697, allocations: 12 kB / 444.7 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002027/0.1699, allocations: 75.95 kB / 444.7 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001803/0.1701, allocations: 95.61 kB / 444.8 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.1703, allocations: 107.1 kB / 444.9 MB, free: 2.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004048/0.1707, allocations: 279 kB / 445.2 MB, free: 2.207 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.1707, allocations: 0 / 445.2 MB, free: 2.207 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.1707, allocations: 0 / 445.2 MB, free: 2.207 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.826e-05/0.1707, allocations: 0 / 445.2 MB, free: 2.207 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007245/0.1715, allocations: 0.6185 MB / 445.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.1715, allocations: 19.83 kB / 445.9 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.157e-05/0.1716, allocations: 36.47 kB / 445.9 MB, free: 1.484 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.1719, allocations: 294.3 kB / 446.2 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.172, allocations: 8.375 kB / 446.2 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.952e-05/0.172, allocations: 12.38 kB / 446.2 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002858/0.1723, allocations: 114.5 kB / 446.3 MB, free: 1.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.1723, allocations: 0 / 446.3 MB, free: 1.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.1724, allocations: 4 kB / 446.3 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.1724, allocations: 7.938 kB / 446.3 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.1726, allocations: 67.95 kB / 446.4 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006085/0.1732, allocations: 480.3 kB / 446.9 MB, free: 432 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.1734, allocations: 94.47 kB / 446.9 MB, free: 328 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.692e-05/0.1735, allocations: 32.84 kB / 447 MB, free: 292 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.602e-05/0.1735, allocations: 4 kB / 447 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.1736, allocations: 34.56 kB / 447 MB, free: 244 kB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.1736, allocations: 0 / 447 MB, free: 244 kB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001138/0.1747, allocations: 376.2 kB / 447.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.1748, allocations: 55.41 kB / 447.4 MB, free: 15.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007709/0.1756, allocations: 0.521 MB / 448 MB, free: 15.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.1756, allocations: 25.7 kB / 448 MB, free: 15.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.1759, allocations: 200.3 kB / 448.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.704e-05/0.1759, allocations: 63.02 kB / 448.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.427e-05/0.176, allocations: 33.7 kB / 448.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.1763, allocations: 350.7 kB / 448.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.1764, allocations: 47.97 kB / 448.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.1766, allocations: 52.75 kB / 448.7 MB, free: 14.49 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003286/0.177, allocations: 127.7 kB / 448.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.177, allocations: 3.938 kB / 448.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004575/0.1774, allocations: 185.1 kB / 449 MB, free: 14.17 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.1775, allocations: 8 kB / 449 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.1775, allocations: 0 / 449 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.1775, allocations: 0 / 449 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.1777, allocations: 47.89 kB / 449.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1778, allocations: 0 / 449.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.557e-05/0.1779, allocations: 12 kB / 449.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.1779, allocations: 11.98 kB / 449.1 MB, free: 14.09 MB / 334.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 (17): * Single equations (assignments): 17 * 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.0002882/0.1782, allocations: 181.6 kB / 449.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.1783, allocations: 35.53 kB / 449.3 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000788/0.1791, allocations: 228.1 kB / 449.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1791, allocations: 4 kB / 449.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.1792, allocations: 4 kB / 449.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.1792, allocations: 0 / 449.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.1806, allocations: 0.6036 MB / 450.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.1806, allocations: 3.938 kB / 450.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.1807, allocations: 31.98 kB / 450.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1808, allocations: 4 kB / 450.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.1808, allocations: 0 / 450.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.1808, allocations: 7.984 kB / 450.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-06/0.1808, allocations: 3.938 kB / 450.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005414/0.1814, allocations: 294.9 kB / 450.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.1815, allocations: 96.73 kB / 450.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/0.1815, allocations: 12 kB / 450.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.1817, allocations: 4 kB / 450.6 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.953e-05/0.1818, allocations: 19.91 kB / 450.6 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.1818, allocations: 8 kB / 450.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005558/0.1823, allocations: 391.1 kB / 451 MB, free: 12.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1824, allocations: 0 / 451 MB, free: 12.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005231/0.1829, allocations: 47.98 kB / 451.1 MB, free: 12.04 MB / 334.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 (17): * Single equations (assignments): 17 * 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.002481/0.1854, allocations: 0.6933 MB / 451.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006501/0.186, allocations: 135.8 kB / 451.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.1861, allocations: 0 / 451.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.1863, allocations: 71.91 kB / 451.9 MB, free: 11.22 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005479/0.1868, allocations: 79.39 kB / 452 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.188, allocations: 0.6557 MB / 452.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005649/0.1885, allocations: 0.7983 MB / 453.5 MB, free: 9.633 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.1887, allocations: 45.92 kB / 453.5 MB, free: 9.586 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.827e-05/0.1887, allocations: 31.42 kB / 453.6 MB, free: 9.555 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1887, allocations: 0 / 453.6 MB, free: 9.555 MB / 334.1 MB Notification: Performance of Templates: time 0.008271/0.197, allocations: 3.159 MB / 456.7 MB, free: 6.398 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches