Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2D.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002467/0.002467, allocations: 183.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.054/2.054, 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.001164/0.001164, allocations: 105.6 kB / 270.9 MB, free: 8.363 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.5137/0.5137, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000485/0.0004851, allocations: 15.98 kB / 431.4 MB, free: 6.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1287, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test31): time 0.002595/0.1314, allocations: 1.317 MB / 491.5 MB, free: 9.918 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.1332, allocations: 0.8596 MB / 492.4 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.25e-05/0.1333, allocations: 0 / 492.4 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.1335, allocations: 15.92 kB / 492.4 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.1338, allocations: 39.83 kB / 492.4 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004436/0.1342, allocations: 103.8 kB / 492.5 MB, free: 8.895 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.1344, allocations: 35.91 kB / 492.6 MB, free: 8.859 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1345, allocations: 8.172 kB / 492.6 MB, free: 8.852 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.617e-05/0.1346, allocations: 27.84 kB / 492.6 MB, free: 8.824 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.1347, allocations: 19.92 kB / 492.6 MB, free: 8.805 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.1348, allocations: 4 kB / 492.6 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.1349, allocations: 31.98 kB / 492.7 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.726e-05/0.135, allocations: 15.92 kB / 492.7 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.041e-05/0.135, allocations: 29.7 kB / 492.7 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.1352, allocations: 79.75 kB / 492.8 MB, free: 8.641 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1352, allocations: 0 / 492.8 MB, free: 8.641 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1353, allocations: 0 / 492.8 MB, free: 8.641 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1353, allocations: 4 kB / 492.8 MB, free: 8.637 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.0006141/0.1359, allocations: 387.4 kB / 493.2 MB, free: 8.211 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.136, allocations: 12.02 kB / 493.2 MB, free: 8.199 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.726e-05/0.136, allocations: 11.86 kB / 493.2 MB, free: 8.188 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.1363, allocations: 186.9 kB / 493.4 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.1363, allocations: 4 kB / 493.4 MB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.1363, allocations: 4 kB / 493.4 MB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.1366, allocations: 79.33 kB / 493.5 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.1366, allocations: 4 kB / 493.5 MB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.1367, allocations: 0 / 493.5 MB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1367, allocations: 0 / 493.5 MB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002338/0.1369, allocations: 43.92 kB / 493.5 MB, free: 7.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004792/0.1374, allocations: 288.7 kB / 493.8 MB, free: 7.488 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.1376, allocations: 58.47 kB / 493.9 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.1377, allocations: 7.938 kB / 493.9 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.1377, allocations: 30.56 kB / 493.9 MB, free: 7.375 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.1377, allocations: 4 kB / 493.9 MB, free: 7.371 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001252/0.139, allocations: 237.3 kB / 494.1 MB, free: 7.133 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.411e-05/0.1391, allocations: 85.09 kB / 494.2 MB, free: 7.031 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.1393, allocations: 141.9 kB / 494.3 MB, free: 6.883 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.1394, allocations: 25.7 kB / 494.4 MB, free: 6.852 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.289e-05/0.1395, allocations: 166.4 kB / 494.5 MB, free: 6.688 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.1395, allocations: 15.72 kB / 494.5 MB, free: 6.672 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-06/0.1396, allocations: 4 kB / 494.6 MB, free: 6.668 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1397, allocations: 318.8 kB / 494.9 MB, free: 6.348 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.1399, allocations: 39.97 kB / 494.9 MB, free: 6.309 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.1402, allocations: 53.69 kB / 495 MB, free: 6.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.1404, allocations: 44.02 kB / 495 MB, free: 6.207 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1404, allocations: 0 / 495 MB, free: 6.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004928/0.1409, allocations: 121.6 kB / 495.1 MB, free: 6.082 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.1409, allocations: 7.953 kB / 495.1 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.141, allocations: 0 / 495.1 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.141, allocations: 0 / 495.1 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.1412, allocations: 23.98 kB / 495.1 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.1412, allocations: 4.297 kB / 495.2 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.1414, allocations: 20 kB / 495.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.1414, allocations: 0 / 495.2 MB, free: 6.027 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.0001152/0.1415, allocations: 117.8 kB / 495.3 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.511e-05/0.1416, allocations: 7.906 kB / 495.3 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005621/0.1421, allocations: 162.1 kB / 495.5 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.1421, allocations: 0 / 495.5 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1422, allocations: 4 kB / 495.5 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1422, allocations: 0 / 495.5 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008697/0.1431, allocations: 406.4 kB / 495.9 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.1431, allocations: 3.953 kB / 495.9 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.1433, allocations: 31.97 kB / 495.9 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.1433, allocations: 0 / 495.9 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.1433, allocations: 0 / 495.9 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/0.1433, allocations: 4 kB / 495.9 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1433, allocations: 3.938 kB / 495.9 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005408/0.1439, allocations: 219.4 kB / 496.1 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.226e-05/0.144, allocations: 92.95 kB / 496.2 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.144, allocations: 4 kB / 496.2 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.1442, allocations: 11.98 kB / 496.2 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.1443, allocations: 12 kB / 496.2 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.1443, allocations: 0 / 496.2 MB, free: 4.863 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001344/0.1444, allocations: 115.2 kB / 496.3 MB, free: 4.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1444, allocations: 0 / 496.3 MB, free: 4.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003693/0.1448, allocations: 24 kB / 496.4 MB, free: 4.727 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.001327/0.1461, allocations: 445.2 kB / 496.8 MB, free: 4.332 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000571/0.1467, allocations: 91.94 kB / 496.9 MB, free: 4.242 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.1468, allocations: 0 / 496.9 MB, free: 4.242 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002444/0.147, allocations: 59.84 kB / 496.9 MB, free: 4.184 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.1474, allocations: 11.98 kB / 497 MB, free: 4.172 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006006/0.148, allocations: 223.4 kB / 497.2 MB, free: 3.926 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.1483, allocations: 0.6965 MB / 497.9 MB, free: 3.203 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.664e-05/0.1484, allocations: 15.42 kB / 497.9 MB, free: 3.188 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1485, allocations: 0 / 497.9 MB, free: 3.188 MB / 378.7 MB Notification: Performance of Templates: time 0.005521/0.154, allocations: 1.789 MB / 499.7 MB, free: 1.398 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test31/Test31.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches