Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2D.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001594/0.0016, allocations: 182.8 kB / 16.4 MB, free: 5.75 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.061/2.061, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001114/0.001114, allocations: 101.7 kB / 270.9 MB, free: 8.355 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.5365/0.5365, allocations: 43.55 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004709/0.0004711, allocations: 8 kB / 431.4 MB, free: 6.148 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1325, allocations: 58.85 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test24): time 0.00261/0.1351, allocations: 1.305 MB / 491.5 MB, free: 9.898 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008851/0.1361, allocations: 283.8 kB / 491.8 MB, free: 9.617 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.989e-05/0.1362, allocations: 0 / 491.8 MB, free: 9.617 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002599/0.1364, allocations: 39.88 kB / 491.8 MB, free: 9.578 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.1366, allocations: 39.89 kB / 491.9 MB, free: 9.539 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004509/0.1371, allocations: 107.8 kB / 492 MB, free: 9.434 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000149/0.1373, allocations: 35.89 kB / 492 MB, free: 9.398 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.986e-05/0.1374, allocations: 16.17 kB / 492 MB, free: 9.383 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.302e-05/0.1375, allocations: 19.92 kB / 492 MB, free: 9.363 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.423e-05/0.1376, allocations: 31.84 kB / 492.1 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.1376, allocations: 0 / 492.1 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1377, allocations: 27.92 kB / 492.1 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.125e-05/0.1378, allocations: 19.92 kB / 492.1 MB, free: 9.285 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.211e-05/0.1378, allocations: 29.7 kB / 492.2 MB, free: 9.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.138, allocations: 71.83 kB / 492.2 MB, free: 9.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.138, allocations: 0 / 492.2 MB, free: 9.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.138, allocations: 0 / 492.2 MB, free: 9.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.138, allocations: 0 / 492.2 MB, free: 9.18 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.0006327/0.1387, allocations: 394.9 kB / 492.6 MB, free: 8.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.1387, allocations: 12.02 kB / 492.6 MB, free: 8.738 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.1388, allocations: 11.86 kB / 492.6 MB, free: 8.727 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.1391, allocations: 199.4 kB / 492.8 MB, free: 8.492 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.1391, allocations: 0 / 492.8 MB, free: 8.492 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.1391, allocations: 4 kB / 492.8 MB, free: 8.488 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.1394, allocations: 57.67 kB / 492.9 MB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.1394, allocations: 7.938 kB / 492.9 MB, free: 8.418 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1394, allocations: 0 / 492.9 MB, free: 8.418 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.1394, allocations: 4 kB / 492.9 MB, free: 8.414 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002641/0.1397, allocations: 47.86 kB / 492.9 MB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005077/0.1402, allocations: 292.8 kB / 493.2 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.1404, allocations: 46.55 kB / 493.3 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.1405, allocations: 3.938 kB / 493.3 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.1405, allocations: 30.56 kB / 493.3 MB, free: 7.934 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 4.429e-06/0.1405, allocations: 7.984 kB / 493.3 MB, free: 7.926 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001254/0.1418, allocations: 249.3 kB / 493.6 MB, free: 7.676 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.1419, allocations: 51.41 kB / 493.6 MB, free: 7.613 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.1421, allocations: 178.9 kB / 493.8 MB, free: 7.426 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.1422, allocations: 25.7 kB / 493.8 MB, free: 7.395 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.961e-05/0.1423, allocations: 158.6 kB / 494 MB, free: 7.238 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.1423, allocations: 27.64 kB / 494 MB, free: 7.211 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-06/0.1423, allocations: 0 / 494 MB, free: 7.211 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1425, allocations: 314.8 kB / 494.3 MB, free: 6.895 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002463/0.1427, allocations: 47.91 kB / 494.4 MB, free: 6.848 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.1429, allocations: 35.97 kB / 494.4 MB, free: 6.812 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.1432, allocations: 48.2 kB / 494.4 MB, free: 6.766 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1432, allocations: 0 / 494.4 MB, free: 6.766 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00052/0.1437, allocations: 121.6 kB / 494.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.1438, allocations: 15.95 kB / 494.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1438, allocations: 0 / 494.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.1438, allocations: 0 / 494.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.144, allocations: 19.98 kB / 494.6 MB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.144, allocations: 7.984 kB / 494.6 MB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.1442, allocations: 16 kB / 494.6 MB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.1442, allocations: 4 kB / 494.6 MB, free: 6.578 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.0001376/0.1444, allocations: 121.8 kB / 494.7 MB, free: 6.449 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.871e-05/0.1444, allocations: 11.81 kB / 494.7 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006205/0.1451, allocations: 150.2 kB / 494.9 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.1451, allocations: 0 / 494.9 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1451, allocations: 0 / 494.9 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1451, allocations: 0 / 494.9 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009031/0.146, allocations: 402.5 kB / 495.3 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.146, allocations: 0 / 495.3 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.1462, allocations: 35.86 kB / 495.3 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.1462, allocations: 3.938 kB / 495.3 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.1463, allocations: 8 kB / 495.3 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.1463, allocations: 4 kB / 495.3 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.1463, allocations: 0 / 495.3 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005744/0.1469, allocations: 219.4 kB / 495.5 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.99e-05/0.147, allocations: 89 kB / 495.6 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.147, allocations: 3.953 kB / 495.6 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.1472, allocations: 12 kB / 495.7 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.1472, allocations: 7.984 kB / 495.7 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.1473, allocations: 8 kB / 495.7 MB, free: 5.418 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001652/0.1474, allocations: 136.5 kB / 495.8 MB, free: 5.285 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1474, allocations: 0 / 495.8 MB, free: 5.285 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003337/0.1478, allocations: 16 kB / 495.8 MB, free: 5.27 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.001201/0.149, allocations: 408.1 kB / 496.2 MB, free: 4.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005413/0.1496, allocations: 95.92 kB / 496.3 MB, free: 4.816 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.1496, allocations: 0 / 496.3 MB, free: 4.816 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002332/0.1498, allocations: 55.91 kB / 496.4 MB, free: 4.762 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.1502, allocations: 15.86 kB / 496.4 MB, free: 4.746 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007041/0.1509, allocations: 255.1 kB / 496.6 MB, free: 4.465 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.1513, allocations: 0.7083 MB / 497.3 MB, free: 3.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.722e-05/0.1514, allocations: 15.44 kB / 497.4 MB, free: 3.719 MB / 378.7 MB Notification: Performance of SimCode: time 1.623e-06/0.1514, allocations: 0 / 497.4 MB, free: 3.719 MB / 378.7 MB Notification: Performance of Templates: time 0.005329/0.1567, allocations: 1.61 MB / 499 MB, free: 2.109 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches