Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.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.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002423/0.002423, allocations: 187.1 kB / 16.4 MB, free: 5.625 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.177/2.177, allocations: 205.4 MB / 222.5 MB, free: 13.75 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.001131/0.001131, allocations: 86.86 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2959/0.2959, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006229/0.0006231, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1182, allocations: 58.86 MB / 490.2 MB, free: 9.336 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.002498/0.1208, allocations: 1.302 MB / 491.5 MB, free: 8.016 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.1226, allocations: 0.883 MB / 492.4 MB, free: 7.125 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.977e-05/0.1227, allocations: 4 kB / 492.4 MB, free: 7.121 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.123, allocations: 19.86 kB / 492.4 MB, free: 7.102 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.1232, allocations: 35.84 kB / 492.5 MB, free: 7.066 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005879/0.1238, allocations: 140.3 kB / 492.6 MB, free: 6.93 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.1239, allocations: 47.88 kB / 492.6 MB, free: 6.883 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.1241, allocations: 11.98 kB / 492.7 MB, free: 6.871 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.542e-05/0.1241, allocations: 19.92 kB / 492.7 MB, free: 6.852 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.1243, allocations: 23.84 kB / 492.7 MB, free: 6.828 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.1243, allocations: 4 kB / 492.7 MB, free: 6.824 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.1245, allocations: 31.92 kB / 492.7 MB, free: 6.793 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.766e-05/0.1245, allocations: 12 kB / 492.7 MB, free: 6.781 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.354e-05/0.1246, allocations: 41.62 kB / 492.8 MB, free: 6.734 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.1248, allocations: 72.16 kB / 492.9 MB, free: 6.664 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1248, allocations: 0 / 492.9 MB, free: 6.664 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1248, allocations: 4 kB / 492.9 MB, free: 6.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1248, allocations: 0 / 492.9 MB, free: 6.66 MB / 330.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.0006503/0.1255, allocations: 383.1 kB / 493.2 MB, free: 6.238 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.1256, allocations: 20.02 kB / 493.3 MB, free: 6.219 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.958e-05/0.1256, allocations: 11.84 kB / 493.3 MB, free: 6.207 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.1259, allocations: 190.7 kB / 493.5 MB, free: 5.984 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1259, allocations: 4 kB / 493.5 MB, free: 5.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.126, allocations: 4 kB / 493.5 MB, free: 5.977 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.1262, allocations: 79.38 kB / 493.5 MB, free: 5.887 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.1263, allocations: 3.906 kB / 493.5 MB, free: 5.883 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.1263, allocations: 8 kB / 493.5 MB, free: 5.875 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1263, allocations: 3.984 kB / 493.6 MB, free: 5.871 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002506/0.1266, allocations: 51.91 kB / 493.6 MB, free: 5.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000599/0.1272, allocations: 312.8 kB / 493.9 MB, free: 5.465 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.1274, allocations: 50.55 kB / 494 MB, free: 5.406 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.1274, allocations: 0 / 494 MB, free: 5.406 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.1275, allocations: 34.56 kB / 494 MB, free: 5.363 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.1275, allocations: 4 kB / 494 MB, free: 5.359 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.001312/0.1288, allocations: 257.2 kB / 494.2 MB, free: 5.102 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.429e-05/0.1289, allocations: 77.11 kB / 494.3 MB, free: 5.008 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.1292, allocations: 152.6 kB / 494.5 MB, free: 4.852 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.1292, allocations: 25.7 kB / 494.5 MB, free: 4.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.796e-05/0.1293, allocations: 166.4 kB / 494.7 MB, free: 4.656 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.992e-05/0.1294, allocations: 19.72 kB / 494.7 MB, free: 4.637 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.134e-06/0.1294, allocations: 0 / 494.7 MB, free: 4.637 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1295, allocations: 314.8 kB / 495 MB, free: 4.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/0.1298, allocations: 47.95 kB / 495 MB, free: 4.273 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.1301, allocations: 65.75 kB / 495.1 MB, free: 4.203 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.1303, allocations: 52 kB / 495.1 MB, free: 4.152 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1303, allocations: 3.938 kB / 495.2 MB, free: 4.148 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005549/0.1309, allocations: 129.6 kB / 495.3 MB, free: 4.016 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.1309, allocations: 8 kB / 495.3 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.131, allocations: 0 / 495.3 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.131, allocations: 3.953 kB / 495.3 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.1312, allocations: 27.92 kB / 495.3 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1312, allocations: 0 / 495.3 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.1314, allocations: 19.98 kB / 495.3 MB, free: 3.957 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.1314, allocations: 4 kB / 495.3 MB, free: 3.953 MB / 330.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.0001324/0.1315, allocations: 113.8 kB / 495.5 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/0.1316, allocations: 11.84 kB / 495.5 MB, free: 3.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006131/0.1322, allocations: 158.6 kB / 495.6 MB, free: 3.656 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.1322, allocations: 0 / 495.6 MB, free: 3.656 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.1323, allocations: 7.891 kB / 495.6 MB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1323, allocations: 3.984 kB / 495.6 MB, free: 3.645 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009297/0.1332, allocations: 422.5 kB / 496 MB, free: 3.176 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.1333, allocations: 0 / 496 MB, free: 3.176 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.1334, allocations: 23.98 kB / 496.1 MB, free: 3.152 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.1335, allocations: 0 / 496.1 MB, free: 3.152 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.1335, allocations: 11.95 kB / 496.1 MB, free: 3.141 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1335, allocations: 0 / 496.1 MB, free: 3.141 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.1335, allocations: 0 / 496.1 MB, free: 3.141 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005935/0.1341, allocations: 243.3 kB / 496.3 MB, free: 2.887 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.027e-05/0.1342, allocations: 85 kB / 496.4 MB, free: 2.785 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.1342, allocations: 0 / 496.4 MB, free: 2.785 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.1344, allocations: 27.94 kB / 496.4 MB, free: 2.758 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.1345, allocations: 7.984 kB / 496.4 MB, free: 2.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.1345, allocations: 0 / 496.4 MB, free: 2.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001314/0.1346, allocations: 106.2 kB / 496.5 MB, free: 2.648 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-07/0.1347, allocations: 4 kB / 496.5 MB, free: 2.645 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003758/0.135, allocations: 31.89 kB / 496.6 MB, free: 2.613 MB / 330.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.001302/0.1364, allocations: 447.1 kB / 497 MB, free: 2.223 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005755/0.137, allocations: 111.9 kB / 497.1 MB, free: 2.113 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.137, allocations: 0 / 497.1 MB, free: 2.113 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002681/0.1373, allocations: 59.89 kB / 497.2 MB, free: 2.055 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.1376, allocations: 12 kB / 497.2 MB, free: 2.043 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006228/0.1382, allocations: 238.7 kB / 497.4 MB, free: 1.777 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.1386, allocations: 0.7043 MB / 498.1 MB, free: 1.047 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.911e-05/0.1387, allocations: 19.42 kB / 498.1 MB, free: 1.027 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1387, allocations: 0 / 498.1 MB, free: 1.027 MB / 330.7 MB Notification: Performance of Templates: time 0.005666/0.1444, allocations: 1.879 MB / 0.4883 GB, free: 15.15 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches