Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.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.Test14,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.Test14") translateModel(ModelicaTest.Tables.CombiTable2D.Test14,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.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001486/0.001491, allocations: 183.2 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.03/2.03, 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.001151/0.00115, allocations: 104.3 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.5159/0.5159, allocations: 43.54 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004715/0.0004717, allocations: 12 kB / 431.4 MB, free: 5.953 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1301, allocations: 58.85 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test14): time 0.002624/0.1328, allocations: 1.313 MB / 491.5 MB, free: 9.688 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.1348, allocations: 0.8635 MB / 492.4 MB, free: 8.816 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.253e-05/0.1349, allocations: 0 / 492.4 MB, free: 8.816 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.1351, allocations: 15.92 kB / 492.4 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000208/0.1353, allocations: 35.83 kB / 492.4 MB, free: 8.766 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004652/0.1358, allocations: 103.8 kB / 492.5 MB, free: 8.664 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.136, allocations: 39.89 kB / 492.6 MB, free: 8.625 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1361, allocations: 8.172 kB / 492.6 MB, free: 8.617 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.837e-05/0.1362, allocations: 23.91 kB / 492.6 MB, free: 8.594 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.1363, allocations: 23.86 kB / 492.6 MB, free: 8.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.1364, allocations: 4 kB / 492.6 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.1365, allocations: 31.92 kB / 492.7 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.989e-05/0.1366, allocations: 23.91 kB / 492.7 MB, free: 8.512 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.163e-05/0.1366, allocations: 29.7 kB / 492.7 MB, free: 8.477 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.1369, allocations: 67.89 kB / 492.8 MB, free: 8.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1369, allocations: 0 / 492.8 MB, free: 8.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1369, allocations: 0 / 492.8 MB, free: 8.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.1369, allocations: 0 / 492.8 MB, free: 8.41 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.0007071/0.1376, allocations: 391.4 kB / 493.2 MB, free: 7.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.1377, allocations: 15.95 kB / 493.2 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.1377, allocations: 11.86 kB / 493.2 MB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.138, allocations: 186.9 kB / 493.4 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.1381, allocations: 4 kB / 493.4 MB, free: 7.727 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.1381, allocations: 0 / 493.4 MB, free: 7.727 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.1384, allocations: 79.39 kB / 493.5 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.1384, allocations: 0 / 493.5 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.1384, allocations: 4 kB / 493.5 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1384, allocations: 3.938 kB / 493.5 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002455/0.1387, allocations: 51.84 kB / 493.5 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005187/0.1392, allocations: 288.7 kB / 493.8 MB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.1395, allocations: 46.56 kB / 493.8 MB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.1395, allocations: 4 kB / 493.9 MB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.1396, allocations: 30.56 kB / 493.9 MB, free: 7.148 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 5.36e-06/0.1396, allocations: 4 kB / 493.9 MB, free: 7.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001305/0.1409, allocations: 241.3 kB / 494.1 MB, free: 6.902 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.079e-05/0.141, allocations: 85.05 kB / 494.2 MB, free: 6.801 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.1412, allocations: 141.9 kB / 494.3 MB, free: 6.652 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.1413, allocations: 25.7 kB / 494.4 MB, free: 6.621 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.1414, allocations: 166.4 kB / 494.5 MB, free: 6.457 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.1415, allocations: 19.7 kB / 494.5 MB, free: 6.438 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.307e-06/0.1415, allocations: 4 kB / 494.6 MB, free: 6.434 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1416, allocations: 310.8 kB / 494.9 MB, free: 6.121 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.1419, allocations: 43.97 kB / 494.9 MB, free: 6.078 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.1421, allocations: 53.69 kB / 495 MB, free: 6.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.1424, allocations: 48 kB / 495 MB, free: 5.973 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1424, allocations: 0 / 495 MB, free: 5.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005149/0.1429, allocations: 117.6 kB / 495.1 MB, free: 5.852 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.1429, allocations: 7.953 kB / 495.1 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1429, allocations: 0 / 495.1 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.143, allocations: 0 / 495.1 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.1432, allocations: 27.92 kB / 495.1 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.1432, allocations: 0 / 495.1 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.1434, allocations: 27.98 kB / 495.2 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.1434, allocations: 0 / 495.2 MB, free: 5.789 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.0001337/0.1435, allocations: 113.8 kB / 495.3 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/0.1436, allocations: 7.906 kB / 495.3 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006067/0.1442, allocations: 158.4 kB / 495.5 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.1442, allocations: 0 / 495.5 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1443, allocations: 0 / 495.5 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1443, allocations: 0 / 495.5 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009331/0.1452, allocations: 410.4 kB / 495.9 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.1453, allocations: 3.953 kB / 495.9 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.1455, allocations: 31.92 kB / 495.9 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.1455, allocations: 0 / 495.9 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.1455, allocations: 0 / 495.9 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/0.1455, allocations: 3.938 kB / 495.9 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.1456, allocations: 4 kB / 495.9 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005873/0.1461, allocations: 219.4 kB / 496.1 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.35e-05/0.1462, allocations: 93.23 kB / 496.2 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.1463, allocations: 4 kB / 496.2 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.1465, allocations: 11.98 kB / 496.2 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.1465, allocations: 11.98 kB / 496.2 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.1466, allocations: 7.984 kB / 496.2 MB, free: 4.629 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001361/0.1467, allocations: 103.3 kB / 496.3 MB, free: 4.527 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1467, allocations: 0 / 496.3 MB, free: 4.527 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003797/0.1471, allocations: 31.98 kB / 496.4 MB, free: 4.496 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.01535/0.1625, allocations: 444.9 kB / 496.8 MB, free: 4.102 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007899/0.1633, allocations: 95.88 kB / 496.9 MB, free: 4.008 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.1634, allocations: 0 / 496.9 MB, free: 4.008 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000342/0.1637, allocations: 47.97 kB / 496.9 MB, free: 3.961 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.1642, allocations: 12 kB / 497 MB, free: 3.949 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007737/0.165, allocations: 231 kB / 497.2 MB, free: 3.695 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/0.1655, allocations: 0.6965 MB / 497.9 MB, free: 2.973 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.1656, allocations: 11.44 kB / 497.9 MB, free: 2.961 MB / 378.7 MB Notification: Performance of SimCode: time 1.503e-06/0.1656, allocations: 0 / 497.9 MB, free: 2.961 MB / 378.7 MB Notification: Performance of Templates: time 0.006639/0.1723, allocations: 1.789 MB / 499.7 MB, free: 1.172 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test14/Test14.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches