Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.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_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21") translateModel(ModelicaTest.Tables.CombiTable2D.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_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001181/0.001182, allocations: 179.2 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.808/1.808, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008585/0.0008585, allocations: 89.03 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3878/0.3878, allocations: 43.55 MB / 362.7 MB, free: 52.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004142/0.0004143, allocations: 12 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1308, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test21): time 0.002314/0.1331, allocations: 1.609 MB / 491.8 MB, free: 9.609 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.1344, allocations: 0.6201 MB / 492.5 MB, free: 8.984 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.41e-05/0.1345, allocations: 4 kB / 492.5 MB, free: 8.98 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004586/0.1349, allocations: 247.4 kB / 492.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002964/0.1352, allocations: 171.5 kB / 492.9 MB, free: 8.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009105/0.1362, allocations: 411.2 kB / 493.3 MB, free: 8.168 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002923/0.1365, allocations: 231.3 kB / 493.5 MB, free: 7.941 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.1366, allocations: 48.72 kB / 493.6 MB, free: 7.895 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.1368, allocations: 111.5 kB / 493.7 MB, free: 7.785 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.137, allocations: 159.4 kB / 493.8 MB, free: 7.629 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.137, allocations: 4 kB / 493.8 MB, free: 7.625 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.1371, allocations: 55.98 kB / 493.9 MB, free: 7.57 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.1372, allocations: 83.67 kB / 494 MB, free: 7.488 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.767e-05/0.1373, allocations: 61.52 kB / 494 MB, free: 7.422 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.1375, allocations: 211.9 kB / 494.2 MB, free: 7.215 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1375, allocations: 0 / 494.2 MB, free: 7.215 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1376, allocations: 3.938 kB / 494.2 MB, free: 7.211 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1376, allocations: 4 kB / 494.2 MB, free: 7.207 MB / 378.7 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.0006856/0.1383, allocations: 0.5676 MB / 494.8 MB, free: 6.594 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1383, allocations: 8.031 kB / 494.8 MB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.009e-05/0.1384, allocations: 43.48 kB / 494.8 MB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.1387, allocations: 289.2 kB / 495.1 MB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.1387, allocations: 11.94 kB / 495.1 MB, free: 6.207 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/0.1387, allocations: 12 kB / 495.2 MB, free: 6.195 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.139, allocations: 105.6 kB / 495.3 MB, free: 6.086 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.139, allocations: 4 kB / 495.3 MB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.139, allocations: 4 kB / 495.3 MB, free: 6.078 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.139, allocations: 4 kB / 495.3 MB, free: 6.074 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.1392, allocations: 75.91 kB / 495.3 MB, free: 6 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006265/0.1398, allocations: 480.3 kB / 495.8 MB, free: 5.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.14, allocations: 98.48 kB / 495.9 MB, free: 5.375 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.628e-05/0.1401, allocations: 41 kB / 495.9 MB, free: 5.332 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.1402, allocations: 0 / 495.9 MB, free: 5.332 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.1402, allocations: 38.55 kB / 496 MB, free: 5.285 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.1402, allocations: 0 / 496 MB, free: 5.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008866/0.1411, allocations: 384 kB / 496.4 MB, free: 4.902 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.1411, allocations: 63.3 kB / 496.4 MB, free: 4.828 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005033/0.1417, allocations: 0.5171 MB / 496.9 MB, free: 4.301 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.1417, allocations: 33.7 kB / 497 MB, free: 4.262 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.1418, allocations: 192.4 kB / 497.2 MB, free: 4.066 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.068e-05/0.1419, allocations: 59.05 kB / 497.2 MB, free: 4.008 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.1419, allocations: 0 / 497.2 MB, free: 4.008 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1421, allocations: 350.8 kB / 497.6 MB, free: 3.656 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.1422, allocations: 55.97 kB / 497.6 MB, free: 3.602 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.1423, allocations: 51.97 kB / 497.7 MB, free: 3.551 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.1424, allocations: 59.98 kB / 497.7 MB, free: 3.492 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1424, allocations: 0 / 497.7 MB, free: 3.492 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000318/0.1428, allocations: 197.1 kB / 497.9 MB, free: 3.293 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1428, allocations: 7.438 kB / 497.9 MB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1428, allocations: 4 kB / 497.9 MB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.1428, allocations: 0 / 497.9 MB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.143, allocations: 39.91 kB / 498 MB, free: 3.246 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.143, allocations: 0 / 498 MB, free: 3.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.934e-05/0.143, allocations: 15.95 kB / 498 MB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.1431, allocations: 4 kB / 498 MB, free: 3.227 MB / 378.7 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.0001636/0.1432, allocations: 181.8 kB / 498.2 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/0.1433, allocations: 35.53 kB / 498.2 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004334/0.1437, allocations: 245.2 kB / 498.4 MB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.1437, allocations: 4 kB / 498.4 MB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1438, allocations: 4 kB / 498.4 MB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1438, allocations: 3.938 kB / 498.5 MB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007337/0.1445, allocations: 0.6153 MB / 499.1 MB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1445, allocations: 0 / 499.1 MB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.1446, allocations: 39.92 kB / 499.1 MB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.1446, allocations: 0 / 499.1 MB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.1447, allocations: 7.953 kB / 499.1 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1447, allocations: 0 / 499.1 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.1447, allocations: 3.984 kB / 499.1 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003525/0.145, allocations: 302.9 kB / 499.4 MB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.487e-05/0.1451, allocations: 108.7 kB / 499.5 MB, free: 1.586 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.1452, allocations: 4 kB / 499.5 MB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.556e-05/0.1453, allocations: 19.88 kB / 499.5 MB, free: 1.562 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.1453, allocations: 7.984 kB / 499.6 MB, free: 1.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.1453, allocations: 8 kB / 499.6 MB, free: 1.547 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003623/0.1457, allocations: 395.1 kB / 499.9 MB, free: 1.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1457, allocations: 0 / 499.9 MB, free: 1.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002814/0.146, allocations: 47.91 kB / 500 MB, free: 1.113 MB / 378.7 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.001409/0.1474, allocations: 0.7016 MB / 0.489 GB, free: 472 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003194/0.1477, allocations: 135.9 kB / 0.4891 GB, free: 336 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.1478, allocations: 0 / 0.4891 GB, free: 336 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.1479, allocations: 76.22 kB / 0.4892 GB, free: 260 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000502/0.1484, allocations: 61.77 kB / 0.4892 GB, free: 200 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1785/0.3269, allocations: 0.7237 MB / 0.4899 GB, free: 42.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.3272, allocations: 0.8004 MB / 0.4907 GB, free: 42.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.601e-05/0.3273, allocations: 30.77 kB / 0.4907 GB, free: 42.25 MB / 378.7 MB Notification: Performance of SimCode: time 7.81e-07/0.3274, allocations: 0 / 0.4907 GB, free: 42.25 MB / 378.7 MB Notification: Performance of Templates: time 0.006549/0.3339, allocations: 4.2 MB / 0.4948 GB, free: 41.92 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test21/Test21.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches