Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008383/0.0008384, allocations: 88.19 kB / 15.7 MB, free: 460 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.001351/0.001351, allocations: 176.3 kB / 16.58 MB, free: 6.844 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.982/1.982, allocations: 205.4 MB / 222.8 MB, free: 5.656 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.4654/0.4654, allocations: 43.58 MB / 314.6 MB, free: 8.766 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.0005615/0.0005618, allocations: 27.92 kB / 384 MB, free: 7.988 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1712, allocations: 58.86 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.002712/0.1739, allocations: 1.508 MB / 444.3 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.1754, allocations: 0.6907 MB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.1755, allocations: 4 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005772/0.1761, allocations: 247.4 kB / 445.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000361/0.1765, allocations: 171.5 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.1777, allocations: 0.5498 MB / 446 MB, free: 9.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003214/0.1781, allocations: 235.3 kB / 446.2 MB, free: 9.609 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.1782, allocations: 48.3 kB / 446.3 MB, free: 9.562 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.1784, allocations: 103.5 kB / 446.4 MB, free: 9.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.1786, allocations: 159.4 kB / 446.5 MB, free: 9.305 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.1786, allocations: 0 / 446.5 MB, free: 9.305 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.1788, allocations: 32 kB / 446.6 MB, free: 9.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.1789, allocations: 87.72 kB / 446.6 MB, free: 9.188 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.148e-05/0.1789, allocations: 61.52 kB / 446.7 MB, free: 9.121 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.1792, allocations: 195.6 kB / 446.9 MB, free: 8.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1792, allocations: 0 / 446.9 MB, free: 8.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1792, allocations: 0 / 446.9 MB, free: 8.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1792, allocations: 0 / 446.9 MB, free: 8.93 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007228/0.1799, allocations: 0.5563 MB / 447.4 MB, free: 8.324 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.18, allocations: 12.02 kB / 447.5 MB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.862e-05/0.1801, allocations: 43.42 kB / 447.5 MB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.1804, allocations: 281.4 kB / 447.8 MB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.1805, allocations: 4 kB / 447.8 MB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.1805, allocations: 7.984 kB / 447.8 MB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.1807, allocations: 101.6 kB / 447.9 MB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1807, allocations: 4 kB / 447.9 MB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.1808, allocations: 4 kB / 447.9 MB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.1808, allocations: 7.938 kB / 447.9 MB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.181, allocations: 71.91 kB / 448 MB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006688/0.1816, allocations: 448.5 kB / 448.4 MB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.1818, allocations: 78.48 kB / 448.5 MB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.522e-05/0.1819, allocations: 32.97 kB / 448.5 MB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.328e-05/0.1819, allocations: 4 kB / 448.5 MB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.1819, allocations: 30.56 kB / 448.5 MB, free: 7.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.182, allocations: 0 / 448.5 MB, free: 7.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003836/0.1823, allocations: 165.1 kB / 448.7 MB, free: 6.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.1824, allocations: 51.41 kB / 448.8 MB, free: 6.867 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000574/0.183, allocations: 0.5211 MB / 449.3 MB, free: 6.336 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.183, allocations: 29.7 kB / 449.3 MB, free: 6.301 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.1832, allocations: 188.3 kB / 449.5 MB, free: 6.113 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.1832, allocations: 19.72 kB / 449.5 MB, free: 6.094 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-06/0.1832, allocations: 4 kB / 449.5 MB, free: 6.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.1834, allocations: 350.8 kB / 449.9 MB, free: 5.738 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.388e-05/0.1834, allocations: 23.98 kB / 449.9 MB, free: 5.715 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.359e-05/0.1835, allocations: 27.98 kB / 449.9 MB, free: 5.688 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.94e-05/0.1836, allocations: 31.97 kB / 449.9 MB, free: 5.656 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1836, allocations: 0 / 449.9 MB, free: 5.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000212/0.1838, allocations: 137.2 kB / 450.1 MB, free: 5.516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.1838, allocations: 11.92 kB / 450.1 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1839, allocations: 0 / 450.1 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1839, allocations: 0 / 450.1 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.531e-05/0.184, allocations: 16.38 kB / 450.1 MB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.184, allocations: 3.984 kB / 450.1 MB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.935e-05/0.1841, allocations: 15.83 kB / 450.1 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.1841, allocations: 4 kB / 450.1 MB, free: 5.465 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001718/0.1843, allocations: 169.8 kB / 450.3 MB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.358e-05/0.1843, allocations: 39.58 kB / 450.3 MB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002904/0.1846, allocations: 152.7 kB / 450.5 MB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.1846, allocations: 7.984 kB / 450.5 MB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.1846, allocations: 0 / 450.5 MB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1846, allocations: 0 / 450.5 MB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003093/0.185, allocations: 285.5 kB / 450.8 MB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.185, allocations: 0 / 450.8 MB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.318e-05/0.185, allocations: 12 kB / 450.8 MB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.185, allocations: 3.953 kB / 450.8 MB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.1851, allocations: 0 / 450.8 MB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1851, allocations: 0 / 450.8 MB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1851, allocations: 3.984 kB / 450.8 MB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.1853, allocations: 223.1 kB / 451 MB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.243e-05/0.1854, allocations: 116.6 kB / 451.1 MB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.1855, allocations: 3.953 kB / 451.1 MB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.039e-05/0.1855, allocations: 7.938 kB / 451.1 MB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.1856, allocations: 7.984 kB / 451.1 MB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.1856, allocations: 4 kB / 451.1 MB, free: 4.348 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003759/0.186, allocations: 391.1 kB / 451.5 MB, free: 3.965 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.186, allocations: 0 / 451.5 MB, free: 3.965 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.1863, allocations: 39.94 kB / 451.6 MB, free: 3.926 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001423/0.1877, allocations: 0.5927 MB / 452.2 MB, free: 3.367 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002163/0.1879, allocations: 63.97 kB / 452.2 MB, free: 3.305 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1879, allocations: 0 / 452.2 MB, free: 3.305 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.715e-05/0.188, allocations: 47.91 kB / 452.3 MB, free: 3.258 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004837/0.1885, allocations: 57.45 kB / 452.3 MB, free: 3.203 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009105/0.1894, allocations: 0.649 MB / 453 MB, free: 2.523 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004317/0.1899, allocations: 0.8024 MB / 453.8 MB, free: 1.695 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.19, allocations: 45.48 kB / 453.8 MB, free: 1.652 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.17e-05/0.19, allocations: 23.42 kB / 453.8 MB, free: 1.629 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.19, allocations: 0 / 453.8 MB, free: 1.629 MB / 382.1 MB Notification: Performance of Templates: time 0.2693/0.4594, allocations: 2.49 MB / 456.3 MB, free: 45.48 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches