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.000916/0.000916, allocations: 93.19 kB / 18 MB, free: 5.602 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.000813/0.0008131, allocations: 177.6 kB / 18.91 MB, free: 4.738 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.387/1.387, allocations: 223.3 MB / 243 MB, free: 32 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 / 338.3 MB, free: 2.621 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003668, allocations: 8 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1214, allocations: 61.92 MB / 472.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.002797/0.1242, allocations: 1.659 MB / 474.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00216/0.1264, allocations: 0.9396 MB / 475.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000235/0.1267, allocations: 4 kB / 475.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005391/0.1272, allocations: 251.4 kB / 475.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004301/0.1277, allocations: 179.5 kB / 475.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.1292, allocations: 0.6133 MB / 476.6 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004841/0.1297, allocations: 287.2 kB / 476.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002111/0.1299, allocations: 80.55 kB / 476.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002044/0.1301, allocations: 111.5 kB / 477 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000256/0.1304, allocations: 179.3 kB / 477.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.544e-05/0.1304, allocations: 4 kB / 477.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000221/0.1306, allocations: 87.95 kB / 477.3 MB, free: 8.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.1308, allocations: 91.61 kB / 477.4 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.1309, allocations: 124.8 kB / 477.5 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003502/0.1313, allocations: 227.6 kB / 477.7 MB, free: 8.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.1313, allocations: 0 / 477.7 MB, free: 8.508 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1313, allocations: 0 / 477.7 MB, free: 8.508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.166e-06/0.1313, allocations: 7.938 kB / 477.7 MB, free: 8.5 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.0007653/0.1321, allocations: 0.594 MB / 478.3 MB, free: 7.859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1321, allocations: 8.031 kB / 478.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.664e-05/0.1322, allocations: 36.47 kB / 478.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.1326, allocations: 314.2 kB / 478.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.1326, allocations: 8.375 kB / 478.7 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.956e-05/0.1326, allocations: 12.38 kB / 478.7 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.1329, allocations: 121.8 kB / 478.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.1329, allocations: 4 kB / 478.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.133, allocations: 11.94 kB / 478.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.133, allocations: 4 kB / 478.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.1332, allocations: 95.86 kB / 478.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006847/0.1339, allocations: 0.4963 MB / 479.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.1341, allocations: 118.4 kB / 479.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.573e-05/0.1342, allocations: 44.78 kB / 479.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.1342, allocations: 7.984 kB / 479.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.1342, allocations: 34.56 kB / 479.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.1342, allocations: 0 / 479.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009989/0.1352, allocations: 447.9 kB / 480.1 MB, free: 5.996 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.1353, allocations: 51.62 kB / 480.1 MB, free: 5.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005467/0.1358, allocations: 0.5289 MB / 480.6 MB, free: 5.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.1359, allocations: 33.64 kB / 480.7 MB, free: 5.355 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.136, allocations: 200.3 kB / 480.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.339e-05/0.1361, allocations: 59.11 kB / 480.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/0.1361, allocations: 17.72 kB / 480.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1362, allocations: 346.8 kB / 481.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.1364, allocations: 71.95 kB / 481.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.1365, allocations: 74.3 kB / 481.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/0.1368, allocations: 160.7 kB / 481.6 MB, free: 4.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1368, allocations: 7.938 kB / 481.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003796/0.1372, allocations: 238.8 kB / 481.8 MB, free: 4.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1372, allocations: 4 kB / 481.8 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1373, allocations: 0 / 481.8 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1373, allocations: 0 / 481.8 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.1374, allocations: 47.91 kB / 481.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1374, allocations: 0 / 481.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.827e-05/0.1375, allocations: 8 kB / 481.9 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.1375, allocations: 4 kB / 481.9 MB, free: 4.117 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001616/0.1377, allocations: 181.7 kB / 482.1 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.712e-05/0.1378, allocations: 39.53 kB / 482.1 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005098/0.1383, allocations: 284 kB / 482.4 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.1383, allocations: 7.984 kB / 482.4 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.1383, allocations: 0 / 482.4 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1383, allocations: 0 / 482.4 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008543/0.1392, allocations: 0.6738 MB / 483.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1392, allocations: 0 / 483.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.1393, allocations: 31.98 kB / 483.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1393, allocations: 0 / 483.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.1394, allocations: 8 kB / 483.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1394, allocations: 4 kB / 483.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1394, allocations: 3.938 kB / 483.1 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004048/0.1398, allocations: 334.8 kB / 483.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-05/0.1399, allocations: 120.7 kB / 483.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.1399, allocations: 4 kB / 483.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.14, allocations: 15.98 kB / 483.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.1401, allocations: 11.92 kB / 483.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-06/0.1401, allocations: 4 kB / 483.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003739/0.1405, allocations: 395.1 kB / 484 MB, free: 1.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1405, allocations: 0 / 484 MB, free: 1.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003134/0.1408, allocations: 55.89 kB / 484 MB, free: 1.867 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 (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.001645/0.1424, allocations: 0.6936 MB / 484.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003679/0.1428, allocations: 167.8 kB / 484.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1428, allocations: 3.938 kB / 484.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.143, allocations: 103.9 kB / 485 MB, free: 1.219 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005395/0.1436, allocations: 69.48 kB / 485.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.1449, allocations: 0.8025 MB / 485.9 MB, free: 324 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.1453, allocations: 0.8067 MB / 486.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.527e-05/0.1454, allocations: 35.42 kB / 486.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1454, allocations: 0 / 486.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of Templates: time 0.007405/0.1528, allocations: 4.47 MB / 491.2 MB, free: 11 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/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