Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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 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.CombiTable2Dv.Test21,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.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,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.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001247, allocations: 93.62 kB / 17 MB, free: 6.121 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.001838/0.001838, allocations: 183 kB / 17.89 MB, free: 5.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.459/1.459, allocations: 223.3 MB / 241.9 MB, free: 328 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2231/0.2231, allocations: 44.26 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003525, allocations: 8 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1305, allocations: 61.93 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.002416/0.1329, allocations: 1.605 MB / 473.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.1346, allocations: 0.9166 MB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1348, allocations: 4 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005178/0.1353, allocations: 243.4 kB / 474.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003397/0.1357, allocations: 175.5 kB / 474.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.1373, allocations: 0.5942 MB / 475.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000441/0.1378, allocations: 263.2 kB / 475.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.138, allocations: 64.56 kB / 475.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.1381, allocations: 107.5 kB / 475.6 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002522/0.1384, allocations: 155.4 kB / 475.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.1384, allocations: 4 kB / 475.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000218/0.1387, allocations: 79.91 kB / 475.8 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.1388, allocations: 83.73 kB / 475.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.266e-05/0.1389, allocations: 65.52 kB / 475.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.1391, allocations: 235.6 kB / 476.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.1392, allocations: 0 / 476.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1392, allocations: 3.938 kB / 476.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1392, allocations: 0 / 476.2 MB, free: 9.121 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008014/0.14, allocations: 0.5874 MB / 476.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.14, allocations: 8.031 kB / 476.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.587e-05/0.1401, allocations: 35.53 kB / 476.8 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.1405, allocations: 297.3 kB / 477.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.1405, allocations: 11.94 kB / 477.1 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/0.1405, allocations: 19.95 kB / 477.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.1408, allocations: 125.5 kB / 477.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.1408, allocations: 7.906 kB / 477.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.1409, allocations: 0 / 477.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.1409, allocations: 4 kB / 477.3 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002586/0.1411, allocations: 91.94 kB / 477.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006987/0.1418, allocations: 0.4925 MB / 477.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.1421, allocations: 114.4 kB / 477.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.304e-05/0.1422, allocations: 44.83 kB / 478 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.83e-05/0.1422, allocations: 11.97 kB / 478 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.1422, allocations: 34.56 kB / 478 MB, free: 7.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.1422, allocations: 0 / 478 MB, free: 7.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001003/0.1432, allocations: 448 kB / 478.5 MB, free: 6.637 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.1433, allocations: 55.41 kB / 478.5 MB, free: 6.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005162/0.1438, allocations: 0.521 MB / 479 MB, free: 6.039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.1438, allocations: 25.7 kB / 479.1 MB, free: 6.008 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.144, allocations: 200.2 kB / 479.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.403e-05/0.1441, allocations: 71.08 kB / 479.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-06/0.1441, allocations: 4 kB / 479.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1442, allocations: 350.8 kB / 479.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.1444, allocations: 63.97 kB / 479.7 MB, free: 5.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.1445, allocations: 67.95 kB / 479.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.1447, allocations: 82 kB / 479.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1447, allocations: 0 / 479.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003644/0.1451, allocations: 237 kB / 480.1 MB, free: 4.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1451, allocations: 4 kB / 480.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1451, allocations: 0 / 480.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1451, allocations: 4 kB / 480.1 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.1453, allocations: 51.91 kB / 480.2 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.1453, allocations: 0 / 480.2 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.86e-05/0.1454, allocations: 4 kB / 480.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.1454, allocations: 4 kB / 480.2 MB, free: 4.871 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001808/0.1456, allocations: 178.3 kB / 480.4 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.273e-05/0.1457, allocations: 43.48 kB / 480.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005024/0.1462, allocations: 283.3 kB / 480.7 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.1462, allocations: 11.92 kB / 480.7 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1462, allocations: 0 / 480.7 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1462, allocations: 0 / 480.7 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000954/0.1472, allocations: 0.666 MB / 481.4 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1472, allocations: 4 kB / 481.4 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.1473, allocations: 39.98 kB / 481.4 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1473, allocations: 0 / 481.4 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1473, allocations: 0 / 481.4 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1473, allocations: 4 kB / 481.4 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.1473, allocations: 3.938 kB / 481.4 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004817/0.1478, allocations: 344.6 kB / 481.8 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.153e-05/0.1479, allocations: 112.6 kB / 481.9 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.1479, allocations: 7.938 kB / 481.9 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.23e-05/0.148, allocations: 15.98 kB / 481.9 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.1481, allocations: 11.98 kB / 481.9 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.1481, allocations: 4 kB / 481.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003854/0.1485, allocations: 395.1 kB / 482.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1485, allocations: 0 / 482.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003233/0.1488, allocations: 52 kB / 482.3 MB, free: 2.621 MB / 350.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 (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.001698/0.1506, allocations: 0.6919 MB / 483 MB, free: 2.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003727/0.1509, allocations: 167.8 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.151, allocations: 4 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.1511, allocations: 91.89 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000514/0.1516, allocations: 72.27 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.1528, allocations: 0.7595 MB / 484.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004598/0.1533, allocations: 0.8262 MB / 484.9 MB, free: 284 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001559/0.1535, allocations: 57.88 kB / 485 MB, free: 228 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.389e-05/0.1536, allocations: 23.44 kB / 485 MB, free: 204 kB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1536, allocations: 8 kB / 485 MB, free: 196 kB / 350.1 MB Notification: Performance of Templates: time 0.007246/0.1608, allocations: 3.053 MB / 488.1 MB, free: 13.16 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches