Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 107.1 kB / 18.39 MB, free: 4.629 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.001331/0.001331, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.558/1.558, allocations: 222.9 MB / 243 MB, free: 15.07 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.2695/0.2695, allocations: 44.18 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 66.8 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1715, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003268/0.1748, allocations: 1.957 MB / 472.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.1764, allocations: 1.029 MB / 473.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.097e-05/0.1764, allocations: 0 / 473.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.1766, allocations: 39.59 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003245/0.177, allocations: 151.4 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000918/0.1779, allocations: 418.1 kB / 474.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002903/0.1782, allocations: 255.2 kB / 474.5 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.1783, allocations: 68.28 kB / 474.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.1785, allocations: 111.5 kB / 474.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.1788, allocations: 179.4 kB / 474.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.279e-05/0.1788, allocations: 12 kB / 474.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001865/0.179, allocations: 59.92 kB / 475 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.1792, allocations: 143.6 kB / 475.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.1793, allocations: 150.8 kB / 475.2 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008067/0.1801, allocations: 358.6 kB / 475.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1801, allocations: 0 / 475.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1801, allocations: 0 / 475.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1802, allocations: 0 / 475.6 MB, free: 8.75 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.002016/0.1822, allocations: 0.7386 MB / 476.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.1822, allocations: 8.031 kB / 476.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.1824, allocations: 56.22 kB / 476.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.1835, allocations: 435.9 kB / 476.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.1836, allocations: 12.38 kB / 476.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-05/0.1836, allocations: 12.12 kB / 476.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006031/0.1842, allocations: 135 kB / 477 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1843, allocations: 0 / 477 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.1843, allocations: 4 kB / 477 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.1843, allocations: 4 kB / 477 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/0.1846, allocations: 75.89 kB / 477.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.1863, allocations: 0.6566 MB / 477.7 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002905/0.1867, allocations: 105.2 kB / 477.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.1868, allocations: 53.81 kB / 477.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.158e-05/0.1869, allocations: 4 kB / 477.9 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.1869, allocations: 38.5 kB / 477.9 MB, free: 6.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.1869, allocations: 0 / 477.9 MB, free: 6.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.002568/0.1895, allocations: 0.4942 MB / 478.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.1896, allocations: 81.11 kB / 478.5 MB, free: 5.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.1912, allocations: 0.8465 MB / 479.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.1913, allocations: 25.7 kB / 479.4 MB, free: 4.754 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002802/0.1916, allocations: 240.3 kB / 479.6 MB, free: 4.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.725e-05/0.1917, allocations: 51.2 kB / 479.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.695e-05/0.1918, allocations: 37.7 kB / 479.7 MB, free: 4.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003625/0.1922, allocations: 370.7 kB / 480 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.1924, allocations: 55.95 kB / 480.1 MB, free: 3.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.1926, allocations: 77.61 kB / 480.2 MB, free: 3.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000555/0.1932, allocations: 138.4 kB / 480.3 MB, free: 3.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1932, allocations: 0 / 480.3 MB, free: 3.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007587/0.194, allocations: 217.1 kB / 480.5 MB, free: 3.551 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.194, allocations: 4 kB / 480.5 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1941, allocations: 0 / 480.5 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.1941, allocations: 4 kB / 480.5 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.1944, allocations: 43.97 kB / 480.6 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.1944, allocations: 0 / 480.6 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.1946, allocations: 15.98 kB / 480.6 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.1947, allocations: 7.984 kB / 480.6 MB, free: 3.477 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.000374/0.195, allocations: 209.7 kB / 480.8 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001844/0.1952, allocations: 51.33 kB / 480.8 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009194/0.1962, allocations: 265.8 kB / 481.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.1962, allocations: 4 kB / 481.1 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1962, allocations: 0 / 481.1 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1962, allocations: 0 / 481.1 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/0.1981, allocations: 0.7595 MB / 481.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1981, allocations: 7.875 kB / 481.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.1984, allocations: 39.91 kB / 481.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.1984, allocations: 0 / 481.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.1985, allocations: 8 kB / 481.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.1985, allocations: 3.938 kB / 481.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1985, allocations: 0 / 481.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.1997, allocations: 401 kB / 482.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005148/0.2002, allocations: 132.5 kB / 482.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.203e-05/0.2003, allocations: 4 kB / 482.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.2006, allocations: 15.91 kB / 482.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.492e-05/0.2007, allocations: 23.92 kB / 482.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.2007, allocations: 7.984 kB / 482.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001346/0.2021, allocations: 0.6198 MB / 483.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.393e-06/0.2021, allocations: 0 / 483.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005722/0.2027, allocations: 52 kB / 483.2 MB, free: 0.793 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.001535/0.2042, allocations: 398.6 kB / 483.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000971/0.2052, allocations: 143.8 kB / 483.7 MB, free: 424 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2052, allocations: 4 kB / 483.7 MB, free: 420 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003245/0.2056, allocations: 75.89 kB / 483.8 MB, free: 344 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009625/0.2065, allocations: 73.3 kB / 483.8 MB, free: 272 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/0.2093, allocations: 0.8601 MB / 484.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/0.2106, allocations: 0.8573 MB / 485.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003213/0.2109, allocations: 79.55 kB / 485.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.2111, allocations: 39.42 kB / 485.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2111, allocations: 0 / 485.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of Templates: time 0.02055/0.2317, allocations: 3.905 MB / 489.6 MB, free: 10.5 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches