Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2D.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001563/0.001568, allocations: 182.1 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.009/2.009, 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.001128/0.001128, allocations: 81.58 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.5222/0.5222, allocations: 43.55 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004913/0.0004913, allocations: 12 kB / 431.4 MB, free: 5.941 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1377, allocations: 58.85 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test25): time 0.002614/0.1404, allocations: 1.313 MB / 491.5 MB, free: 9.684 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000845/0.1413, allocations: 279.8 kB / 491.8 MB, free: 9.406 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.299e-05/0.1414, allocations: 4 kB / 491.8 MB, free: 9.402 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.1416, allocations: 43.88 kB / 491.8 MB, free: 9.359 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001937/0.1418, allocations: 39.88 kB / 491.9 MB, free: 9.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.1423, allocations: 99.75 kB / 492 MB, free: 9.223 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.1425, allocations: 43.89 kB / 492 MB, free: 9.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.1426, allocations: 12.16 kB / 492 MB, free: 9.168 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.838e-05/0.1427, allocations: 23.92 kB / 492.1 MB, free: 9.145 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.794e-05/0.1428, allocations: 27.91 kB / 492.1 MB, free: 9.117 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.1428, allocations: 0 / 492.1 MB, free: 9.117 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.556e-05/0.1429, allocations: 27.86 kB / 492.1 MB, free: 9.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.97e-05/0.143, allocations: 15.98 kB / 492.1 MB, free: 9.074 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.021e-05/0.143, allocations: 37.64 kB / 492.2 MB, free: 9.031 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.1432, allocations: 67.89 kB / 492.2 MB, free: 8.965 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.1432, allocations: 0 / 492.2 MB, free: 8.965 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1432, allocations: 0 / 492.2 MB, free: 8.965 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1433, allocations: 0 / 492.2 MB, free: 8.965 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.0006145/0.1439, allocations: 391.3 kB / 492.6 MB, free: 8.535 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.1439, allocations: 12.02 kB / 492.6 MB, free: 8.523 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.838e-05/0.144, allocations: 11.86 kB / 492.6 MB, free: 8.512 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.1442, allocations: 207.3 kB / 492.8 MB, free: 8.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.1443, allocations: 0 / 492.8 MB, free: 8.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.1443, allocations: 4 kB / 492.8 MB, free: 8.266 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.1445, allocations: 57.67 kB / 492.9 MB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1446, allocations: 0 / 492.9 MB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.1446, allocations: 4 kB / 492.9 MB, free: 8.199 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.1446, allocations: 0 / 492.9 MB, free: 8.199 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002342/0.1449, allocations: 55.86 kB / 493 MB, free: 8.145 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004807/0.1453, allocations: 292.7 kB / 493.2 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.1456, allocations: 50.55 kB / 493.3 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.1456, allocations: 4 kB / 493.3 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.1456, allocations: 30.56 kB / 493.3 MB, free: 7.707 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.733e-06/0.1456, allocations: 0 / 493.3 MB, free: 7.707 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001236/0.1469, allocations: 253.2 kB / 493.6 MB, free: 7.453 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.147, allocations: 51.41 kB / 493.6 MB, free: 7.391 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.1472, allocations: 174.9 kB / 493.8 MB, free: 7.207 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.1473, allocations: 29.64 kB / 493.8 MB, free: 7.172 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.035e-05/0.1474, allocations: 162.6 kB / 494 MB, free: 7.012 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.1474, allocations: 23.64 kB / 494 MB, free: 6.988 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.752e-06/0.1474, allocations: 7.938 kB / 494 MB, free: 6.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1476, allocations: 318.8 kB / 494.3 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.1478, allocations: 35.97 kB / 494.4 MB, free: 6.625 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.148, allocations: 43.97 kB / 494.4 MB, free: 6.582 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.1482, allocations: 35.98 kB / 494.4 MB, free: 6.547 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1483, allocations: 0 / 494.4 MB, free: 6.547 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005038/0.1488, allocations: 121.6 kB / 494.6 MB, free: 6.422 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.1488, allocations: 11.95 kB / 494.6 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1488, allocations: 0 / 494.6 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1488, allocations: 0 / 494.6 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.1491, allocations: 27.97 kB / 494.6 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1491, allocations: 4 kB / 494.6 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.1492, allocations: 11.94 kB / 494.6 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.1493, allocations: 7.984 kB / 494.6 MB, free: 6.359 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.0001245/0.1494, allocations: 113.8 kB / 494.7 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.651e-05/0.1495, allocations: 15.81 kB / 494.7 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005585/0.15, allocations: 146.3 kB / 494.9 MB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1501, allocations: 0 / 494.9 MB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.1501, allocations: 4 kB / 494.9 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1501, allocations: 0 / 494.9 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008632/0.151, allocations: 410.4 kB / 495.3 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.151, allocations: 4 kB / 495.3 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.1512, allocations: 27.94 kB / 495.3 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.1512, allocations: 3.938 kB / 495.3 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.1512, allocations: 0 / 495.3 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.1512, allocations: 4 kB / 495.3 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1512, allocations: 480 / 495.3 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000558/0.1518, allocations: 227.3 kB / 495.6 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.201e-05/0.1519, allocations: 93 kB / 495.6 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.1519, allocations: 7.953 kB / 495.7 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.1521, allocations: 11.98 kB / 495.7 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/0.1522, allocations: 4 kB / 495.7 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.1522, allocations: 4 kB / 495.7 MB, free: 5.203 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001717/0.1524, allocations: 136.5 kB / 495.8 MB, free: 5.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1524, allocations: 0 / 495.8 MB, free: 5.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003519/0.1527, allocations: 12 kB / 495.8 MB, free: 5.059 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.001241/0.154, allocations: 413 kB / 496.2 MB, free: 4.695 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005365/0.1545, allocations: 99.86 kB / 496.3 MB, free: 4.598 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1546, allocations: 0 / 496.3 MB, free: 4.598 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002273/0.1548, allocations: 43.97 kB / 496.4 MB, free: 4.555 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.1552, allocations: 15.86 kB / 496.4 MB, free: 4.539 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006373/0.1558, allocations: 266.8 kB / 496.6 MB, free: 4.246 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.1562, allocations: 0.7004 MB / 497.3 MB, free: 3.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.792e-05/0.1563, allocations: 15.42 kB / 497.4 MB, free: 3.504 MB / 378.7 MB Notification: Performance of SimCode: time 4.549e-06/0.1563, allocations: 4 kB / 497.4 MB, free: 3.5 MB / 378.7 MB Notification: Performance of Templates: time 0.004909/0.1612, allocations: 1.606 MB / 499 MB, free: 1.895 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test25/Test25.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches