Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5") translateModel(ModelicaTest.Tables.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002454/0.002462, allocations: 188.6 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.279/2.279, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001585/0.001585, allocations: 94.84 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2931/0.2931, allocations: 43.55 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004746/0.0004748, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1188, allocations: 58.86 MB / 490.2 MB, free: 9.355 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test5): time 0.002589/0.1215, allocations: 1.298 MB / 491.5 MB, free: 8.039 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008116/0.1223, allocations: 291.8 kB / 491.8 MB, free: 7.75 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.679e-05/0.1224, allocations: 0 / 491.8 MB, free: 7.75 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007714/0.1232, allocations: 431.3 kB / 492.2 MB, free: 7.328 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004817/0.1237, allocations: 243.5 kB / 492.5 MB, free: 7.09 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004359/0.1241, allocations: 99.8 kB / 492.6 MB, free: 6.992 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.1244, allocations: 111.8 kB / 492.7 MB, free: 6.883 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.491e-05/0.1245, allocations: 12.19 kB / 492.7 MB, free: 6.871 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.1247, allocations: 103.8 kB / 492.8 MB, free: 6.77 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002824/0.125, allocations: 147.7 kB / 492.9 MB, free: 6.625 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.125, allocations: 0 / 492.9 MB, free: 6.625 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.73e-05/0.1251, allocations: 19.94 kB / 492.9 MB, free: 6.605 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.1252, allocations: 79.75 kB / 493 MB, free: 6.527 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.526e-05/0.1253, allocations: 69.45 kB / 493.1 MB, free: 6.453 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.1256, allocations: 175.8 kB / 493.3 MB, free: 6.281 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1256, allocations: 4 kB / 493.3 MB, free: 6.277 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1257, allocations: 0 / 493.3 MB, free: 6.277 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1257, allocations: 0 / 493.3 MB, free: 6.277 MB / 330.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.0009178/0.1266, allocations: 0.5991 MB / 493.9 MB, free: 5.629 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.1267, allocations: 12.02 kB / 493.9 MB, free: 5.617 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.866e-05/0.1267, allocations: 43.44 kB / 493.9 MB, free: 5.574 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.1271, allocations: 271.4 kB / 494.2 MB, free: 5.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.1271, allocations: 0 / 494.2 MB, free: 5.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.1272, allocations: 8 kB / 494.2 MB, free: 5.262 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.1274, allocations: 61.61 kB / 494.3 MB, free: 5.195 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.1274, allocations: 4 kB / 494.3 MB, free: 5.191 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.1275, allocations: 0 / 494.3 MB, free: 5.191 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1275, allocations: 3.938 kB / 494.3 MB, free: 5.188 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.1277, allocations: 27.97 kB / 494.3 MB, free: 5.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006286/0.1283, allocations: 392.7 kB / 494.7 MB, free: 4.727 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.1286, allocations: 46.5 kB / 494.7 MB, free: 4.672 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.1286, allocations: 0 / 494.7 MB, free: 4.672 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.1287, allocations: 34.64 kB / 494.7 MB, free: 4.629 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.1287, allocations: 0 / 494.7 MB, free: 4.629 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000903/0.1296, allocations: 248.1 kB / 495 MB, free: 4.379 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.1297, allocations: 55.41 kB / 495 MB, free: 4.312 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.131, allocations: 0.8613 MB / 495.9 MB, free: 3.441 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.131, allocations: 25.7 kB / 495.9 MB, free: 3.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.1313, allocations: 238.6 kB / 496.2 MB, free: 3.176 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.1313, allocations: 19.75 kB / 496.2 MB, free: 3.156 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/0.1313, allocations: 0 / 496.2 MB, free: 3.156 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1315, allocations: 314.8 kB / 496.5 MB, free: 2.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.1316, allocations: 23.98 kB / 496.5 MB, free: 2.816 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.1318, allocations: 31.92 kB / 496.5 MB, free: 2.785 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.1319, allocations: 19.98 kB / 496.6 MB, free: 2.766 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.1319, allocations: 0 / 496.6 MB, free: 2.766 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003224/0.1322, allocations: 93.52 kB / 496.7 MB, free: 2.668 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.1323, allocations: 8 kB / 496.7 MB, free: 2.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.1323, allocations: 0 / 496.7 MB, free: 2.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.1323, allocations: 3.953 kB / 496.7 MB, free: 2.656 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.1324, allocations: 15.98 kB / 496.7 MB, free: 2.641 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1325, allocations: 0 / 496.7 MB, free: 2.641 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.1326, allocations: 7.984 kB / 496.7 MB, free: 2.633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.1326, allocations: 4 kB / 496.7 MB, free: 2.629 MB / 330.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.0003031/0.1329, allocations: 217.8 kB / 496.9 MB, free: 2.406 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-05/0.133, allocations: 35.53 kB / 496.9 MB, free: 2.371 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004624/0.1335, allocations: 140.9 kB / 497.1 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.1335, allocations: 4 kB / 497.1 MB, free: 2.223 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.1335, allocations: 7.953 kB / 497.1 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1335, allocations: 3.984 kB / 497.1 MB, free: 2.211 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008711/0.1344, allocations: 466.8 kB / 497.6 MB, free: 1.699 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.1344, allocations: 3.938 kB / 497.6 MB, free: 1.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.1346, allocations: 19.94 kB / 497.6 MB, free: 1.676 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.717e-06/0.1346, allocations: 3.984 kB / 497.6 MB, free: 1.672 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.1346, allocations: 3.953 kB / 497.6 MB, free: 1.668 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1346, allocations: 0 / 497.6 MB, free: 1.668 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1346, allocations: 0 / 497.6 MB, free: 1.668 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004108/0.135, allocations: 215.1 kB / 497.8 MB, free: 1.441 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.1352, allocations: 116.5 kB / 497.9 MB, free: 1.309 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.919e-05/0.1352, allocations: 4 kB / 497.9 MB, free: 1.305 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.1354, allocations: 7.953 kB / 497.9 MB, free: 1.297 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.764e-05/0.1355, allocations: 3.984 kB / 497.9 MB, free: 1.293 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.1355, allocations: 4 kB / 497.9 MB, free: 1.289 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001028/0.1365, allocations: 0.6511 MB / 498.6 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.314e-06/0.1365, allocations: 0 / 498.6 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003675/0.1369, allocations: 31.94 kB / 498.6 MB, free: 0.6094 MB / 330.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.001189/0.1381, allocations: 401.8 kB / 499 MB, free: 268 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003255/0.1385, allocations: 51.97 kB / 499.1 MB, free: 216 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.1385, allocations: 4 kB / 499.1 MB, free: 212 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.1386, allocations: 27.98 kB / 499.1 MB, free: 184 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.139, allocations: 33.83 kB / 499.1 MB, free: 148 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.1408, allocations: 0.8507 MB / 500 MB, free: 15.26 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000589/0.1414, allocations: 0.8379 MB / 0.4891 GB, free: 14.4 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.376e-05/0.1415, allocations: 11.44 kB / 0.4891 GB, free: 14.39 MB / 346.7 MB Notification: Performance of SimCode: time 8.61e-07/0.1415, allocations: 0 / 0.4891 GB, free: 14.39 MB / 346.7 MB Notification: Performance of Templates: time 0.01077/0.1523, allocations: 3.642 MB / 0.4926 GB, free: 10.74 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches