Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000891/0.0008909, allocations: 175.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.234/1.234, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0006875/0.0006875, allocations: 97.95 kB / 271.2 MB, free: 8.25 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.3321/0.3321, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003734, allocations: 12 kB / 432 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1153, allocations: 58.86 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.002104/0.1174, allocations: 1.609 MB / 492.4 MB, free: 9.273 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.1186, allocations: 0.7258 MB / 493.2 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.127e-05/0.1186, allocations: 0 / 493.2 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004054/0.1191, allocations: 247.4 kB / 493.4 MB, free: 8.301 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002704/0.1193, allocations: 167.5 kB / 493.6 MB, free: 8.137 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.1204, allocations: 0.5654 MB / 494.1 MB, free: 7.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002839/0.1207, allocations: 251.3 kB / 494.4 MB, free: 7.324 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.1209, allocations: 80.62 kB / 494.5 MB, free: 7.246 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.121, allocations: 111.5 kB / 494.6 MB, free: 7.137 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.1212, allocations: 155.5 kB / 494.7 MB, free: 6.984 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.1213, allocations: 11.88 kB / 494.7 MB, free: 6.973 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.1214, allocations: 59.97 kB / 494.8 MB, free: 6.914 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.1215, allocations: 83.73 kB / 494.9 MB, free: 6.832 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.205e-05/0.1216, allocations: 116.9 kB / 495 MB, free: 6.711 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.1218, allocations: 219.6 kB / 495.2 MB, free: 6.496 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1218, allocations: 0 / 495.2 MB, free: 6.496 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1218, allocations: 0 / 495.2 MB, free: 6.496 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1218, allocations: 0 / 495.2 MB, free: 6.496 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006153/0.1224, allocations: 0.572 MB / 495.8 MB, free: 5.875 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.1225, allocations: 12.03 kB / 495.8 MB, free: 5.863 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.636e-05/0.1226, allocations: 44.38 kB / 495.8 MB, free: 5.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.1229, allocations: 314.2 kB / 496.1 MB, free: 5.473 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.1229, allocations: 8.375 kB / 496.1 MB, free: 5.465 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.1229, allocations: 12.38 kB / 496.2 MB, free: 5.453 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.1232, allocations: 133.7 kB / 496.3 MB, free: 5.316 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1232, allocations: 0 / 496.3 MB, free: 5.316 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.1232, allocations: 4 kB / 496.3 MB, free: 5.312 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1232, allocations: 7.938 kB / 496.3 MB, free: 5.305 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.1234, allocations: 95.92 kB / 496.4 MB, free: 5.211 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005849/0.124, allocations: 0.4886 MB / 496.9 MB, free: 4.672 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.1242, allocations: 114.5 kB / 497 MB, free: 4.551 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.921e-05/0.1243, allocations: 48.78 kB / 497 MB, free: 4.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.1243, allocations: 4 kB / 497 MB, free: 4.496 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.1243, allocations: 34.55 kB / 497.1 MB, free: 4.453 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.1244, allocations: 0 / 497.1 MB, free: 4.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009115/0.1253, allocations: 451.3 kB / 497.5 MB, free: 4.008 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.1253, allocations: 55.41 kB / 497.6 MB, free: 3.941 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004822/0.1258, allocations: 0.5288 MB / 498.1 MB, free: 3.402 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.1258, allocations: 33.7 kB / 498.1 MB, free: 3.363 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.1259, allocations: 196.3 kB / 498.3 MB, free: 3.164 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.134e-05/0.126, allocations: 51.2 kB / 498.4 MB, free: 3.113 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.285e-06/0.126, allocations: 4 kB / 498.4 MB, free: 3.109 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1261, allocations: 346.8 kB / 498.7 MB, free: 2.762 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.1263, allocations: 71.95 kB / 498.8 MB, free: 2.691 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.1264, allocations: 75.95 kB / 498.9 MB, free: 2.617 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002581/0.1267, allocations: 160.6 kB / 499 MB, free: 2.457 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1267, allocations: 3.938 kB / 499 MB, free: 2.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003463/0.127, allocations: 236.6 kB / 499.2 MB, free: 2.219 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.127, allocations: 7.938 kB / 499.3 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.1271, allocations: 0 / 499.3 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.1271, allocations: 0 / 499.3 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.1272, allocations: 35.98 kB / 499.3 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1272, allocations: 3.938 kB / 499.3 MB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.844e-05/0.1273, allocations: 19.89 kB / 499.3 MB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.1273, allocations: 4 kB / 499.3 MB, free: 2.148 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 (17): * Single equations (assignments): 17 * 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.0001518/0.1275, allocations: 185.7 kB / 499.5 MB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.978e-05/0.1275, allocations: 39.47 kB / 499.5 MB, free: 1.918 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004752/0.128, allocations: 277.3 kB / 499.8 MB, free: 1.641 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.1281, allocations: 4 kB / 499.8 MB, free: 1.637 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1281, allocations: 0 / 499.8 MB, free: 1.637 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.1281, allocations: 7.969 kB / 499.8 MB, free: 1.629 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007655/0.1288, allocations: 0.6622 MB / 0.4888 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1289, allocations: 4 kB / 0.4888 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.129, allocations: 35.98 kB / 0.4888 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.129, allocations: 4 kB / 0.4888 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.129, allocations: 0 / 0.4888 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.129, allocations: 7.984 kB / 0.4888 GB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.129, allocations: 3.938 kB / 0.4888 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003753/0.1294, allocations: 338.4 kB / 0.4891 GB, free: 0.5117 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-05/0.1295, allocations: 120.6 kB / 0.4892 GB, free: 384 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.1295, allocations: 4 kB / 0.4892 GB, free: 380 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.904e-05/0.1296, allocations: 12 kB / 0.4893 GB, free: 368 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.1297, allocations: 15.91 kB / 0.4893 GB, free: 352 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.1297, allocations: 8 kB / 0.4893 GB, free: 344 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.1991/0.3288, allocations: 392.2 kB / 0.4897 GB, free: 43.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.3288, allocations: 0 / 0.4897 GB, free: 43.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004649/0.3293, allocations: 46.38 kB / 0.4897 GB, free: 43.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 (17): * Single equations (assignments): 17 * 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.001427/0.3307, allocations: 0.6921 MB / 0.4904 GB, free: 42.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004467/0.3312, allocations: 169.7 kB / 0.4905 GB, free: 42.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3312, allocations: 0 / 0.4905 GB, free: 42.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.3314, allocations: 96.61 kB / 0.4906 GB, free: 42.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005372/0.3319, allocations: 68.25 kB / 0.4907 GB, free: 42.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.3332, allocations: 0.7668 MB / 0.4914 GB, free: 42.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.3335, allocations: 0.8091 MB / 0.4922 GB, free: 41.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.621e-05/0.3336, allocations: 32.95 kB / 0.4923 GB, free: 41.84 MB / 378.7 MB Notification: Performance of SimCode: time 1.483e-06/0.3336, allocations: 0 / 0.4923 GB, free: 41.84 MB / 378.7 MB Notification: Performance of Templates: time 0.008979/0.3426, allocations: 4.469 MB / 0.4966 GB, free: 41.3 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches