Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 94.95 kB / 17 MB, free: 6.078 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.001351/0.001351, allocations: 182.1 kB / 17.89 MB, free: 5.66 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.469/1.469, allocations: 223.3 MB / 241.9 MB, free: 220 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.2062/0.2062, allocations: 44.24 MB / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003346, allocations: 8 kB / 409.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1373, allocations: 61.93 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.002551/0.1399, allocations: 1.602 MB / 473.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.1414, allocations: 0.7994 MB / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.461e-05/0.1415, allocations: 0 / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004777/0.142, allocations: 239.5 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002914/0.1423, allocations: 175.5 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009916/0.1433, allocations: 446.8 kB / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003476/0.1437, allocations: 227.4 kB / 475.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.1439, allocations: 60.48 kB / 475.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.144, allocations: 107.6 kB / 475.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002436/0.1443, allocations: 159.4 kB / 475.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.1443, allocations: 0 / 475.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.1445, allocations: 79.97 kB / 475.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.1446, allocations: 87.67 kB / 475.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.292e-05/0.1447, allocations: 61.52 kB / 475.6 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.145, allocations: 219.9 kB / 475.8 MB, free: 9.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.145, allocations: 4 kB / 475.8 MB, free: 9.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.145, allocations: 0 / 475.8 MB, free: 9.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.145, allocations: 4 kB / 475.8 MB, free: 9.457 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.0007925/0.1458, allocations: 0.5758 MB / 476.4 MB, free: 8.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.1459, allocations: 8.031 kB / 476.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.745e-05/0.146, allocations: 35.53 kB / 476.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003685/0.1464, allocations: 281.3 kB / 476.7 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.1464, allocations: 8 kB / 476.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.179e-05/0.1464, allocations: 19.86 kB / 476.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.1467, allocations: 113.6 kB / 476.9 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.1467, allocations: 0 / 476.9 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.1468, allocations: 4 kB / 476.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.1468, allocations: 4 kB / 476.9 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.147, allocations: 71.89 kB / 476.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007466/0.1477, allocations: 488.2 kB / 477.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.1479, allocations: 90.55 kB / 477.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.866e-05/0.148, allocations: 37.06 kB / 477.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.504e-05/0.1481, allocations: 15.92 kB / 477.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.1481, allocations: 34.56 kB / 477.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.1481, allocations: 0 / 477.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009055/0.149, allocations: 398.7 kB / 478 MB, free: 7.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.1491, allocations: 51.41 kB / 478 MB, free: 7.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005431/0.1496, allocations: 0.5133 MB / 478.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.1496, allocations: 29.7 kB / 478.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.1498, allocations: 196.3 kB / 478.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.345e-05/0.1499, allocations: 51.19 kB / 478.8 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.08e-05/0.1499, allocations: 12 kB / 478.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.15, allocations: 350.7 kB / 479.2 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.1501, allocations: 55.97 kB / 479.2 MB, free: 5.848 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.1503, allocations: 59.88 kB / 479.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.1504, allocations: 56 kB / 479.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1504, allocations: 0 / 479.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003209/0.1507, allocations: 199.2 kB / 479.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.1508, allocations: 8 kB / 479.5 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.1508, allocations: 0 / 479.5 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1508, allocations: 3.938 kB / 479.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.151, allocations: 39.97 kB / 479.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.151, allocations: 4 kB / 479.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.24e-05/0.1511, allocations: 8 kB / 479.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.1511, allocations: 4 kB / 479.6 MB, free: 5.469 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.000201/0.1513, allocations: 170.3 kB / 479.8 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.913e-05/0.1514, allocations: 43.48 kB / 479.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004812/0.1518, allocations: 253.2 kB / 480.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1519, allocations: 0 / 480.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1519, allocations: 0 / 480.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1519, allocations: 0 / 480.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008163/0.1527, allocations: 0.6136 MB / 480.7 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1527, allocations: 0 / 480.7 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.1528, allocations: 35.92 kB / 480.7 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.1528, allocations: 8 kB / 480.7 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.1529, allocations: 4 kB / 480.7 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1529, allocations: 3.938 kB / 480.7 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1529, allocations: 4 kB / 480.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004018/0.1533, allocations: 306.9 kB / 481 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.653e-05/0.1534, allocations: 120.6 kB / 481.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.1534, allocations: 0 / 481.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.1536, allocations: 8 kB / 481.1 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.1536, allocations: 15.97 kB / 481.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.1536, allocations: 11.94 kB / 481.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003619/0.154, allocations: 387.1 kB / 481.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.154, allocations: 0 / 481.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002893/0.1543, allocations: 44 kB / 481.6 MB, free: 3.363 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.001654/0.156, allocations: 0.6989 MB / 482.3 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003023/0.1563, allocations: 139.8 kB / 482.4 MB, free: 2.844 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.1563, allocations: 4 kB / 482.4 MB, free: 2.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.1565, allocations: 83.89 kB / 482.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004731/0.157, allocations: 63.66 kB / 482.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.158, allocations: 0.7164 MB / 483.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/0.1586, allocations: 0.8103 MB / 484.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.1587, allocations: 41.91 kB / 484.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.143e-05/0.1588, allocations: 27.42 kB / 484.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1588, allocations: 0 / 484.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of Templates: time 0.007621/0.1664, allocations: 2.958 MB / 487.1 MB, free: 14.11 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches