Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2") translateModel(ModelicaTest.Tables.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001522/0.001526, allocations: 182.3 kB / 16.4 MB, free: 5.746 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.941/1.941, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001128/0.001128, allocations: 97.42 kB / 270.9 MB, free: 8.371 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.652/0.652, allocations: 43.56 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004643/0.0004646, allocations: 15.94 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1306, allocations: 58.83 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.002541/0.1332, allocations: 1.309 MB / 491.5 MB, free: 9.918 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000821/0.134, allocations: 283.8 kB / 491.8 MB, free: 9.637 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.649e-05/0.1341, allocations: 0 / 491.8 MB, free: 9.637 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007973/0.1349, allocations: 431.2 kB / 492.2 MB, free: 9.215 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004729/0.1354, allocations: 239.5 kB / 492.5 MB, free: 8.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004811/0.1359, allocations: 95.81 kB / 492.5 MB, free: 8.887 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002667/0.1362, allocations: 115.8 kB / 492.7 MB, free: 8.773 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.1363, allocations: 24.16 kB / 492.7 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.1365, allocations: 95.78 kB / 492.8 MB, free: 8.656 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002926/0.1368, allocations: 143.7 kB / 492.9 MB, free: 8.516 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.1368, allocations: 4 kB / 492.9 MB, free: 8.512 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.137, allocations: 19.92 kB / 492.9 MB, free: 8.492 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.1371, allocations: 87.69 kB / 493 MB, free: 8.406 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.81e-05/0.1372, allocations: 61.52 kB / 493.1 MB, free: 8.34 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.1375, allocations: 187.7 kB / 493.3 MB, free: 8.156 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1376, allocations: 4 kB / 493.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1376, allocations: 0 / 493.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1376, allocations: 0 / 493.3 MB, free: 8.152 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009453/0.1385, allocations: 0.5986 MB / 493.9 MB, free: 7.508 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.1386, allocations: 12.02 kB / 493.9 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.508e-05/0.1387, allocations: 47.47 kB / 493.9 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/0.1391, allocations: 271.3 kB / 494.2 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.1392, allocations: 4 kB / 494.2 MB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.1392, allocations: 12 kB / 494.2 MB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.1394, allocations: 45.69 kB / 494.3 MB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1395, allocations: 0 / 494.3 MB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.1395, allocations: 8 kB / 494.3 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.1395, allocations: 0 / 494.3 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.1397, allocations: 39.8 kB / 494.3 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006609/0.1403, allocations: 388.7 kB / 494.7 MB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.1406, allocations: 42.56 kB / 494.7 MB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.1407, allocations: 0 / 494.7 MB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.1407, allocations: 38.5 kB / 494.8 MB, free: 6.504 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.1407, allocations: 0 / 494.8 MB, free: 6.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009364/0.1417, allocations: 240 kB / 495 MB, free: 6.262 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.1418, allocations: 63.34 kB / 495.1 MB, free: 6.188 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.1431, allocations: 0.8652 MB / 495.9 MB, free: 5.312 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.1432, allocations: 25.7 kB / 495.9 MB, free: 5.281 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.1434, allocations: 238.6 kB / 496.2 MB, free: 5.047 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.1435, allocations: 15.75 kB / 496.2 MB, free: 5.031 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/0.1435, allocations: 4 kB / 496.2 MB, free: 5.027 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1436, allocations: 310.8 kB / 496.5 MB, free: 4.715 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.1438, allocations: 27.98 kB / 496.5 MB, free: 4.688 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.1439, allocations: 23.92 kB / 496.6 MB, free: 4.664 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.1441, allocations: 23.98 kB / 496.6 MB, free: 4.641 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1441, allocations: 0 / 496.6 MB, free: 4.641 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003336/0.1444, allocations: 81.67 kB / 496.7 MB, free: 4.555 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.1445, allocations: 11.95 kB / 496.7 MB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.1445, allocations: 3.984 kB / 496.7 MB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.1445, allocations: 0 / 496.7 MB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.1447, allocations: 15.94 kB / 496.7 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1447, allocations: 0 / 496.7 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.1448, allocations: 11.98 kB / 496.7 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.1448, allocations: 8 kB / 496.7 MB, free: 4.504 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 (5): * Single equations (assignments): 5 * 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.0002966/0.1452, allocations: 205.8 kB / 496.9 MB, free: 4.293 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.056e-05/0.1452, allocations: 39.44 kB / 496.9 MB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004738/0.1457, allocations: 145 kB / 497.1 MB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.1458, allocations: 8 kB / 497.1 MB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.1458, allocations: 320 / 497.1 MB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1458, allocations: 0 / 497.1 MB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000849/0.1466, allocations: 470.4 kB / 497.6 MB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1467, allocations: 0 / 497.6 MB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.1468, allocations: 23.94 kB / 497.6 MB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.1468, allocations: 3.938 kB / 497.6 MB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.1468, allocations: 0 / 497.6 MB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.1469, allocations: 0 / 497.6 MB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1469, allocations: 0 / 497.6 MB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004265/0.1473, allocations: 227.3 kB / 497.8 MB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.1474, allocations: 108.5 kB / 497.9 MB, free: 3.188 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.1475, allocations: 3.953 kB / 497.9 MB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.1477, allocations: 11.98 kB / 497.9 MB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/0.1477, allocations: 7.984 kB / 497.9 MB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.1477, allocations: 4 kB / 497.9 MB, free: 3.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001008/0.1488, allocations: 0.6511 MB / 498.6 MB, free: 2.512 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.1488, allocations: 0 / 498.6 MB, free: 2.512 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003809/0.1492, allocations: 27.98 kB / 498.6 MB, free: 2.484 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 (5): * Single equations (assignments): 5 * 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.001221/0.1504, allocations: 404.6 kB / 499 MB, free: 2.133 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003775/0.1508, allocations: 59.89 kB / 499.1 MB, free: 2.074 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1508, allocations: 4 kB / 499.1 MB, free: 2.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.151, allocations: 27.98 kB / 499.1 MB, free: 2.043 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.1515, allocations: 21.97 kB / 499.1 MB, free: 2.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.1532, allocations: 0.8585 MB / 500 MB, free: 1.125 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000555/0.1538, allocations: 0.8301 MB / 0.4891 GB, free: 276 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.719e-05/0.1539, allocations: 19.42 kB / 0.4891 GB, free: 260 kB / 378.7 MB Notification: Performance of SimCode: time 1.453e-06/0.1539, allocations: 0 / 0.4891 GB, free: 260 kB / 378.7 MB Notification: Performance of Templates: time 0.3295/0.4834, allocations: 3.641 MB / 0.4926 GB, free: 42.07 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches