Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3") translateModel(ModelicaTest.Tables.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002361/0.002366, allocations: 183.1 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 2.109/2.109, 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.001135/0.001135, allocations: 94.86 kB / 270.9 MB, free: 8.367 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.5382/0.5382, allocations: 43.55 MB / 362.7 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005191/0.0005194, allocations: 16 kB / 431.4 MB, free: 5.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1288, allocations: 58.85 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.002506/0.1314, allocations: 1.309 MB / 491.5 MB, free: 9.672 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008361/0.1323, allocations: 283.8 kB / 491.8 MB, free: 9.391 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.696e-05/0.1323, allocations: 4 kB / 491.8 MB, free: 9.387 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007818/0.1331, allocations: 435.2 kB / 492.2 MB, free: 8.961 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004519/0.1336, allocations: 235.5 kB / 492.5 MB, free: 8.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004721/0.1341, allocations: 107.7 kB / 492.6 MB, free: 8.625 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.1344, allocations: 111.8 kB / 492.7 MB, free: 8.516 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1345, allocations: 12.12 kB / 492.7 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.1346, allocations: 103.8 kB / 492.8 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002909/0.135, allocations: 147.8 kB / 492.9 MB, free: 8.258 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.135, allocations: 0 / 492.9 MB, free: 8.258 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.1351, allocations: 31.91 kB / 493 MB, free: 8.227 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.1353, allocations: 75.75 kB / 493 MB, free: 8.152 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.967e-05/0.1353, allocations: 69.45 kB / 493.1 MB, free: 8.078 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003205/0.1357, allocations: 183.8 kB / 493.3 MB, free: 7.898 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1357, allocations: 0 / 493.3 MB, free: 7.898 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.1357, allocations: 0 / 493.3 MB, free: 7.898 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1357, allocations: 0 / 493.3 MB, free: 7.898 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.0009947/0.1367, allocations: 0.6068 MB / 493.9 MB, free: 7.242 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.1368, allocations: 12.02 kB / 493.9 MB, free: 7.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.057e-05/0.1369, allocations: 47.39 kB / 494 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/0.1373, allocations: 271.4 kB / 494.2 MB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.1373, allocations: 4 kB / 494.2 MB, free: 6.875 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.1373, allocations: 7.922 kB / 494.2 MB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.1376, allocations: 61.69 kB / 494.3 MB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1376, allocations: 0 / 494.3 MB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.1376, allocations: 0 / 494.3 MB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.1376, allocations: 4 kB / 494.3 MB, free: 6.797 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002381/0.1379, allocations: 47.86 kB / 494.3 MB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006644/0.1386, allocations: 396.7 kB / 494.7 MB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.1388, allocations: 46.5 kB / 494.8 MB, free: 6.258 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.1388, allocations: 0 / 494.8 MB, free: 6.258 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.1389, allocations: 38.64 kB / 494.8 MB, free: 6.211 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.1389, allocations: 4 kB / 494.8 MB, free: 6.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001317/0.1402, allocations: 315.8 kB / 495.1 MB, free: 5.891 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.1403, allocations: 55.41 kB / 495.2 MB, free: 5.824 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.1417, allocations: 0.8652 MB / 496 MB, free: 4.949 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.1417, allocations: 25.7 kB / 496.1 MB, free: 4.918 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/0.1419, allocations: 230.5 kB / 496.3 MB, free: 4.691 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.262e-05/0.142, allocations: 23.66 kB / 496.3 MB, free: 4.668 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-06/0.142, allocations: 0 / 496.3 MB, free: 4.668 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1422, allocations: 318.8 kB / 496.6 MB, free: 4.348 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/0.1424, allocations: 43.97 kB / 496.7 MB, free: 4.305 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.1426, allocations: 40.03 kB / 496.7 MB, free: 4.266 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.1429, allocations: 47.97 kB / 496.8 MB, free: 4.219 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.1429, allocations: 0 / 496.8 MB, free: 4.219 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005158/0.1434, allocations: 125.5 kB / 496.9 MB, free: 4.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.1435, allocations: 11.95 kB / 496.9 MB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1435, allocations: 0 / 496.9 MB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1435, allocations: 0 / 496.9 MB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.1437, allocations: 19.98 kB / 496.9 MB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.1437, allocations: 4 kB / 496.9 MB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.1439, allocations: 15.98 kB / 496.9 MB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.1439, allocations: 8 kB / 496.9 MB, free: 4.031 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 (7): * Single equations (assignments): 7 * 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.0003238/0.1443, allocations: 205.8 kB / 497.1 MB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.1444, allocations: 43.44 kB / 497.2 MB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006514/0.1451, allocations: 189.9 kB / 497.4 MB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1451, allocations: 4 kB / 497.4 MB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.1451, allocations: 3.984 kB / 497.4 MB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.1451, allocations: 0 / 497.4 MB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.1462, allocations: 0.5101 MB / 497.9 MB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1462, allocations: 0 / 497.9 MB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.1464, allocations: 23.94 kB / 497.9 MB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.1464, allocations: 7.938 kB / 497.9 MB, free: 2.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.1464, allocations: 4 kB / 497.9 MB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1465, allocations: 0 / 497.9 MB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1465, allocations: 0 / 497.9 MB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005948/0.1471, allocations: 258.9 kB / 498.2 MB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.1472, allocations: 112.6 kB / 498.3 MB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.154e-05/0.1473, allocations: 3.953 kB / 498.3 MB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.1475, allocations: 15.98 kB / 498.3 MB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.1475, allocations: 7.938 kB / 498.3 MB, free: 2.551 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.1475, allocations: 7.984 kB / 498.3 MB, free: 2.543 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001031/0.1486, allocations: 0.6472 MB / 499 MB, free: 1.898 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.1486, allocations: 0 / 499 MB, free: 1.898 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003693/0.149, allocations: 27.98 kB / 499 MB, free: 1.871 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 (7): * Single equations (assignments): 7 * 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.00118/0.1502, allocations: 400.6 kB / 499.4 MB, free: 1.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005307/0.1507, allocations: 91.94 kB / 499.5 MB, free: 1.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.1507, allocations: 0 / 499.5 MB, free: 1.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.151, allocations: 55.91 kB / 499.5 MB, free: 1.375 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.1514, allocations: 25.95 kB / 499.6 MB, free: 1.352 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.1532, allocations: 0.8821 MB / 0.4887 GB, free: 444 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3036/0.4568, allocations: 0.8275 MB / 0.4895 GB, free: 42.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.952e-05/0.4569, allocations: 17.05 kB / 0.4895 GB, free: 42.68 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.457, allocations: 0 / 0.4895 GB, free: 42.68 MB / 378.7 MB Notification: Performance of Templates: time 0.01217/0.4691, allocations: 3.754 MB / 0.4932 GB, free: 42.09 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches