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.001232/0.001232, 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.001158/0.001158, allocations: 204.6 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 1.57/1.57, allocations: 205.1 MB / 222.6 MB, free: 4.766 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.4329/0.4329, allocations: 43.49 MB / 313.5 MB, free: 8.266 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.001404/0.001404, allocations: 67.89 kB / 382 MB, free: 8.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1725, allocations: 57.79 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.004227/0.1767, allocations: 1.909 MB / 441.7 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.1785, allocations: 0.7178 MB / 442.4 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.1787, allocations: 3.938 kB / 442.5 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006997/0.1794, allocations: 243.5 kB / 442.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003814/0.1798, allocations: 175.5 kB / 442.9 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.1811, allocations: 0.5615 MB / 443.4 MB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00038/0.1815, allocations: 267.3 kB / 443.7 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.1817, allocations: 52.36 kB / 443.7 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.1818, allocations: 115.5 kB / 443.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.1821, allocations: 179.3 kB / 444 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.1821, allocations: 4 kB / 444 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.1822, allocations: 47.98 kB / 444.1 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.1824, allocations: 91.66 kB / 444.2 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.196e-05/0.1825, allocations: 99.11 kB / 444.3 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.1828, allocations: 255.1 kB / 444.5 MB, free: 9.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1828, allocations: 0 / 444.5 MB, free: 9.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.297e-06/0.1828, allocations: 4 kB / 444.5 MB, free: 9.906 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.1828, allocations: 0 / 444.5 MB, free: 9.906 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.0007494/0.1836, allocations: 0.5912 MB / 445.1 MB, free: 9.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.1836, allocations: 8.031 kB / 445.1 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.674e-05/0.1837, allocations: 36.47 kB / 445.1 MB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.184, allocations: 314.2 kB / 445.5 MB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.184, allocations: 384 / 445.5 MB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.1841, allocations: 8.375 kB / 445.5 MB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.1843, allocations: 101.6 kB / 445.6 MB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1843, allocations: 0 / 445.6 MB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.1843, allocations: 7.984 kB / 445.6 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1843, allocations: 0 / 445.6 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.1845, allocations: 71.89 kB / 445.6 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005949/0.1851, allocations: 452.5 kB / 446.1 MB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.1853, allocations: 70.48 kB / 446.2 MB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.418e-05/0.1853, allocations: 40.95 kB / 446.2 MB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.1854, allocations: 4 kB / 446.2 MB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.1854, allocations: 34.56 kB / 446.2 MB, free: 8.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.1854, allocations: 0 / 446.2 MB, free: 8.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003498/0.1858, allocations: 157.1 kB / 446.4 MB, free: 7.867 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.1858, allocations: 59.28 kB / 446.4 MB, free: 7.797 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006037/0.1864, allocations: 0.5211 MB / 447 MB, free: 7.266 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.1865, allocations: 29.7 kB / 447 MB, free: 7.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.1866, allocations: 188.1 kB / 447.2 MB, free: 7.043 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.1867, allocations: 15.72 kB / 447.2 MB, free: 7.027 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.1867, allocations: 25.7 kB / 447.2 MB, free: 6.996 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.1869, allocations: 350.8 kB / 447.6 MB, free: 6.645 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.501e-05/0.187, allocations: 27.97 kB / 447.6 MB, free: 6.617 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.062e-05/0.1871, allocations: 27.98 kB / 447.6 MB, free: 6.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.1872, allocations: 60.83 kB / 447.7 MB, free: 6.527 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1872, allocations: 0 / 447.7 MB, free: 6.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002029/0.1874, allocations: 125.2 kB / 447.8 MB, free: 6.398 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.1875, allocations: 8 kB / 447.8 MB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1875, allocations: 4 kB / 447.8 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.1875, allocations: 0 / 447.8 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.527e-05/0.1876, allocations: 15.92 kB / 447.8 MB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.1876, allocations: 0 / 447.8 MB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.865e-05/0.1877, allocations: 11.84 kB / 447.8 MB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.1877, allocations: 4 kB / 447.8 MB, free: 6.355 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001774/0.1879, allocations: 165.8 kB / 448 MB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.95e-05/0.1879, allocations: 35.62 kB / 448 MB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.1882, allocations: 148.8 kB / 448.2 MB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.1883, allocations: 4.438 kB / 448.2 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.1883, allocations: 0 / 448.2 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.1883, allocations: 0 / 448.2 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003597/0.1887, allocations: 285.4 kB / 448.5 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.1887, allocations: 4 kB / 448.5 MB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.912e-05/0.1887, allocations: 15.98 kB / 448.5 MB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1887, allocations: 0 / 448.5 MB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.1888, allocations: 0 / 448.5 MB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.1888, allocations: 7.922 kB / 448.5 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1888, allocations: 4 kB / 448.5 MB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.189, allocations: 215.1 kB / 448.7 MB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.814e-05/0.1891, allocations: 100.7 kB / 448.8 MB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.1892, allocations: 3.984 kB / 448.8 MB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.386e-05/0.1892, allocations: 11.88 kB / 448.8 MB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.1893, allocations: 0 / 448.8 MB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.1893, allocations: 4 kB / 448.8 MB, free: 5.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003852/0.1897, allocations: 403.1 kB / 449.2 MB, free: 4.875 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1897, allocations: 3.938 kB / 449.2 MB, free: 4.871 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.19, allocations: 39.84 kB / 449.3 MB, free: 4.832 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 (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.001411/0.1914, allocations: 0.5862 MB / 449.8 MB, free: 4.273 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002452/0.1916, allocations: 59.97 kB / 449.9 MB, free: 4.215 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1916, allocations: 0 / 449.9 MB, free: 4.215 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.669e-05/0.1917, allocations: 47.91 kB / 449.9 MB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005546/0.1923, allocations: 73.23 kB / 450 MB, free: 4.098 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008675/0.1932, allocations: 0.6751 MB / 450.7 MB, free: 3.395 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.1936, allocations: 0.8063 MB / 451.5 MB, free: 2.562 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.1937, allocations: 45.48 kB / 451.5 MB, free: 2.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.251e-05/0.1937, allocations: 19.44 kB / 451.6 MB, free: 2.5 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1938, allocations: 0 / 451.6 MB, free: 2.5 MB / 382.1 MB Notification: Performance of Templates: time 0.2806/0.4744, allocations: 2.57 MB / 454.1 MB, free: 48.52 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