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.002044/0.002044, allocations: 177.5 kB / 16.41 MB, free: 5.707 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.952/1.952, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0008376/0.0008379, allocations: 94.28 kB / 270.9 MB, free: 8.359 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.3808/0.3808, allocations: 43.56 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004092/0.0004092, allocations: 16 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.129, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test5): time 0.001917/0.131, allocations: 1.305 MB / 491.5 MB, free: 9.914 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005403/0.1316, allocations: 299.9 kB / 491.8 MB, free: 9.617 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.269e-05/0.1316, allocations: 0 / 491.8 MB, free: 9.617 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005175/0.1321, allocations: 439.2 kB / 492.3 MB, free: 9.188 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000289/0.1324, allocations: 239.5 kB / 492.5 MB, free: 8.953 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.1327, allocations: 107.9 kB / 492.6 MB, free: 8.848 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.1329, allocations: 119.7 kB / 492.7 MB, free: 8.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.528e-05/0.133, allocations: 16.16 kB / 492.7 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.1331, allocations: 103.7 kB / 492.8 MB, free: 8.613 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.1333, allocations: 167.7 kB / 493 MB, free: 8.449 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.1333, allocations: 4 kB / 493 MB, free: 8.445 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.526e-05/0.1334, allocations: 20 kB / 493 MB, free: 8.426 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.585e-05/0.1335, allocations: 83.73 kB / 493.1 MB, free: 8.344 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.374e-05/0.1336, allocations: 65.45 kB / 493.2 MB, free: 8.273 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.1338, allocations: 183.7 kB / 493.4 MB, free: 8.094 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1338, allocations: 0 / 493.4 MB, free: 8.094 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.282e-05/0.1339, allocations: 4 kB / 493.4 MB, free: 8.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.1339, allocations: 0 / 493.4 MB, free: 8.09 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.0006332/0.1345, allocations: 0.5874 MB / 493.9 MB, free: 7.453 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.1345, allocations: 16 kB / 494 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.484e-05/0.1346, allocations: 47.39 kB / 494 MB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.1349, allocations: 267.4 kB / 494.3 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.1349, allocations: 7.922 kB / 494.3 MB, free: 7.082 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.1349, allocations: 4 kB / 494.3 MB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.1351, allocations: 49.69 kB / 494.3 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1351, allocations: 4 kB / 494.3 MB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.1351, allocations: 4 kB / 494.3 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1351, allocations: 0 / 494.3 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.841e-05/0.1352, allocations: 27.94 kB / 494.4 MB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004497/0.1357, allocations: 380.7 kB / 494.7 MB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.1359, allocations: 50.56 kB / 494.8 MB, free: 6.508 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.081e-05/0.136, allocations: 16.94 kB / 494.8 MB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.136, allocations: 0 / 494.8 MB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.136, allocations: 38.52 kB / 494.8 MB, free: 6.441 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.136, allocations: 0 / 494.8 MB, free: 6.441 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006209/0.1367, allocations: 244 kB / 495.1 MB, free: 6.195 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.1367, allocations: 51.41 kB / 495.1 MB, free: 6.133 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007938/0.1375, allocations: 0.8651 MB / 496 MB, free: 5.258 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.1375, allocations: 25.7 kB / 496 MB, free: 5.227 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/0.1377, allocations: 216.1 kB / 496.2 MB, free: 5.012 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.1378, allocations: 27.64 kB / 496.3 MB, free: 4.984 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-06/0.1378, allocations: 0 / 496.3 MB, free: 4.984 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1379, allocations: 362.7 kB / 496.6 MB, free: 4.621 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.161e-05/0.138, allocations: 15.98 kB / 496.6 MB, free: 4.605 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.48e-05/0.1381, allocations: 31.92 kB / 496.7 MB, free: 4.574 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.286e-05/0.1382, allocations: 23.98 kB / 496.7 MB, free: 4.551 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1382, allocations: 0 / 496.7 MB, free: 4.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002121/0.1384, allocations: 121.2 kB / 496.8 MB, free: 4.426 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1384, allocations: 14.3 kB / 496.8 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1384, allocations: 0 / 496.8 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.948e-06/0.1384, allocations: 0 / 496.8 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.625e-05/0.1385, allocations: 15.98 kB / 496.8 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1385, allocations: 0 / 496.8 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.506e-05/0.1386, allocations: 8.234 kB / 496.8 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.1386, allocations: 4 kB / 496.8 MB, free: 4.387 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.0001887/0.1388, allocations: 217.7 kB / 497 MB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.048e-05/0.1389, allocations: 43.44 kB / 497.1 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.1391, allocations: 141 kB / 497.2 MB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.1391, allocations: 0 / 497.2 MB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.1392, allocations: 4 kB / 497.2 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1392, allocations: 4 kB / 497.2 MB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005182/0.1397, allocations: 458.4 kB / 497.7 MB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1397, allocations: 3.953 kB / 497.7 MB, free: 3.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.656e-05/0.1398, allocations: 15.98 kB / 497.7 MB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1398, allocations: 4 kB / 497.7 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.1398, allocations: 4.281 kB / 497.7 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1398, allocations: 0 / 497.7 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1398, allocations: 4 kB / 497.7 MB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.1401, allocations: 215 kB / 497.9 MB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.302e-05/0.1402, allocations: 120.6 kB / 498 MB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.1402, allocations: 0 / 498 MB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.348e-05/0.1403, allocations: 4 kB / 498 MB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.1403, allocations: 15.92 kB / 498.1 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.1403, allocations: 0 / 498.1 MB, free: 3.047 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005958/0.1409, allocations: 0.6472 MB / 498.7 MB, free: 2.402 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.833e-06/0.1409, allocations: 0 / 498.7 MB, free: 2.402 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002309/0.1412, allocations: 23.92 kB / 498.7 MB, free: 2.379 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.0008349/0.142, allocations: 402.7 kB / 499.1 MB, free: 2.027 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002218/0.1422, allocations: 55.95 kB / 499.2 MB, free: 1.973 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1423, allocations: 0 / 499.2 MB, free: 1.973 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.377e-05/0.1424, allocations: 39.92 kB / 499.2 MB, free: 1.934 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.1427, allocations: 13.97 kB / 499.2 MB, free: 1.918 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.1438, allocations: 0.8584 MB / 0.4884 GB, free: 1.023 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/0.1443, allocations: 0.8185 MB / 0.4892 GB, free: 184 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.1443, allocations: 19.38 kB / 0.4892 GB, free: 168 kB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1443, allocations: 0 / 0.4892 GB, free: 168 kB / 378.7 MB Notification: Performance of Templates: time 0.1971/0.3415, allocations: 3.582 MB / 0.4927 GB, free: 42.13 MB / 378.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/jenkins/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