Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable2D.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 98.91 kB / 15.98 MB, free: 6.352 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.002346/0.002347, allocations: 193.3 kB / 16.91 MB, free: 6.191 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.733/1.733, allocations: 205.1 MB / 222.8 MB, free: 4.699 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.4988/0.4988, allocations: 43.5 MB / 313.6 MB, free: 8.496 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.001642/0.001642, allocations: 68.38 kB / 382.2 MB, free: 8.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1675, allocations: 57.79 MB / 440 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test21): time 0.004493/0.172, allocations: 1.998 MB / 442 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.1735, allocations: 0.6627 MB / 442.7 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.1737, allocations: 0 / 442.7 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000624/0.1743, allocations: 243.5 kB / 442.9 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004283/0.1748, allocations: 179.5 kB / 443.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.1758, allocations: 423.2 kB / 443.5 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003834/0.1762, allocations: 271.3 kB / 443.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002218/0.1764, allocations: 64.92 kB / 443.8 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.1766, allocations: 135.4 kB / 444 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.1769, allocations: 207.3 kB / 444.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.326e-05/0.1769, allocations: 8 kB / 444.2 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.1771, allocations: 63.98 kB / 444.2 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.1772, allocations: 91.73 kB / 444.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.1773, allocations: 107 kB / 444.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.1777, allocations: 287 kB / 444.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1777, allocations: 0 / 444.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1777, allocations: 4 kB / 444.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.1777, allocations: 0 / 444.7 MB, free: 10.02 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008157/0.1785, allocations: 0.6068 MB / 445.3 MB, free: 9.359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.1786, allocations: 11.89 kB / 445.3 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.516e-05/0.1787, allocations: 40.47 kB / 445.4 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003615/0.179, allocations: 310.1 kB / 445.7 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.1791, allocations: 8.375 kB / 445.7 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.116e-05/0.1791, allocations: 12.38 kB / 445.7 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.1794, allocations: 113.7 kB / 445.8 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.1794, allocations: 4 kB / 445.8 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.1794, allocations: 4 kB / 445.8 MB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.1794, allocations: 4 kB / 445.8 MB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.1796, allocations: 67.89 kB / 445.9 MB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006791/0.1803, allocations: 480.3 kB / 446.4 MB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.1805, allocations: 86.55 kB / 446.4 MB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.456e-05/0.1806, allocations: 36.84 kB / 446.5 MB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.1806, allocations: 7.984 kB / 446.5 MB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.1806, allocations: 34.5 kB / 446.5 MB, free: 8.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.1807, allocations: 0 / 446.5 MB, free: 8.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009977/0.1817, allocations: 376.1 kB / 446.9 MB, free: 7.672 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.1817, allocations: 51.41 kB / 446.9 MB, free: 7.609 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005903/0.1823, allocations: 0.5249 MB / 447.5 MB, free: 7.074 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.1824, allocations: 29.7 kB / 447.5 MB, free: 7.039 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.1825, allocations: 196.3 kB / 447.7 MB, free: 6.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.028e-05/0.1826, allocations: 51.17 kB / 447.7 MB, free: 6.789 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.059e-05/0.1827, allocations: 37.7 kB / 447.8 MB, free: 6.746 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.1829, allocations: 350.8 kB / 448.1 MB, free: 6.395 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.183, allocations: 43.98 kB / 448.1 MB, free: 6.352 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.1831, allocations: 55.56 kB / 448.2 MB, free: 6.301 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.1833, allocations: 116.8 kB / 448.3 MB, free: 6.184 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1833, allocations: 3.938 kB / 448.3 MB, free: 6.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003162/0.1837, allocations: 197 kB / 448.5 MB, free: 5.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.1837, allocations: 4 kB / 448.5 MB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1837, allocations: 4 kB / 448.5 MB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.487e-05/0.1838, allocations: 0 / 448.5 MB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.1839, allocations: 39.97 kB / 448.6 MB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1839, allocations: 0 / 448.6 MB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.976e-05/0.184, allocations: 7.938 kB / 448.6 MB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.184, allocations: 4 kB / 448.6 MB, free: 5.922 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 (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.0001827/0.1842, allocations: 181.7 kB / 448.7 MB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.51e-05/0.1843, allocations: 35.53 kB / 448.8 MB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004756/0.1848, allocations: 240.8 kB / 449 MB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1848, allocations: 0 / 449 MB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.1848, allocations: 0 / 449 MB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1848, allocations: 0 / 449 MB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007709/0.1856, allocations: 0.6191 MB / 449.6 MB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1856, allocations: 0 / 449.6 MB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.1857, allocations: 31.98 kB / 449.7 MB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.1857, allocations: 3.984 kB / 449.7 MB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.1857, allocations: 4 kB / 449.7 MB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1857, allocations: 0 / 449.7 MB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.1858, allocations: 7.938 kB / 449.7 MB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003891/0.1861, allocations: 294.9 kB / 450 MB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.925e-05/0.1862, allocations: 104.7 kB / 450.1 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.1863, allocations: 4 kB / 450.1 MB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.003e-05/0.1864, allocations: 4 kB / 450.1 MB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/0.1864, allocations: 15.92 kB / 450.1 MB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.1864, allocations: 12 kB / 450.1 MB, free: 4.277 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003702/0.1868, allocations: 391.1 kB / 450.5 MB, free: 3.895 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1868, allocations: 4 kB / 450.5 MB, free: 3.891 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002888/0.1871, allocations: 36 kB / 450.5 MB, free: 3.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 (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.001707/0.1888, allocations: 0.7113 MB / 451.2 MB, free: 3.172 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003786/0.1892, allocations: 143.8 kB / 451.4 MB, free: 3.031 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1892, allocations: 0 / 451.4 MB, free: 3.031 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.1894, allocations: 71.91 kB / 451.5 MB, free: 2.961 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005618/0.1899, allocations: 77.23 kB / 451.5 MB, free: 2.887 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.1911, allocations: 0.7601 MB / 452.3 MB, free: 2.102 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004179/0.1915, allocations: 0.8061 MB / 453.1 MB, free: 1.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000108/0.1916, allocations: 37.91 kB / 453.1 MB, free: 1.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.05e-05/0.1917, allocations: 31.42 kB / 453.2 MB, free: 1.203 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1917, allocations: 0 / 453.2 MB, free: 1.203 MB / 382.1 MB Notification: Performance of Templates: time 0.3069/0.4986, allocations: 3.108 MB / 456.3 MB, free: 48.06 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches