Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009052/0.0009052, allocations: 174.6 kB / 16.72 MB, free: 5.078 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.226/1.226, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0008883/0.0008885, allocations: 90.36 kB / 271.2 MB, free: 8.242 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.3024/0.3024, allocations: 43.57 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003593, allocations: 20 kB / 432 MB, free: 5.586 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1162, allocations: 58.86 MB / 490.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.002226/0.1184, allocations: 1.601 MB / 492.4 MB, free: 9.027 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.1197, allocations: 0.7258 MB / 493.2 MB, free: 8.297 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.402e-05/0.1198, allocations: 4 kB / 493.2 MB, free: 8.293 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004783/0.1203, allocations: 243.4 kB / 493.4 MB, free: 8.055 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003214/0.1206, allocations: 175.5 kB / 493.6 MB, free: 7.883 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.1219, allocations: 0.5615 MB / 494.1 MB, free: 7.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003452/0.1223, allocations: 247.3 kB / 494.4 MB, free: 7.078 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.1225, allocations: 84.62 kB / 494.5 MB, free: 6.996 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.1226, allocations: 111.5 kB / 494.6 MB, free: 6.887 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.1228, allocations: 159.4 kB / 494.7 MB, free: 6.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.1229, allocations: 4 kB / 494.7 MB, free: 6.727 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.123, allocations: 59.91 kB / 494.8 MB, free: 6.668 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.1231, allocations: 83.73 kB / 494.9 MB, free: 6.586 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.931e-05/0.1232, allocations: 120.9 kB / 495 MB, free: 6.461 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.1235, allocations: 223.6 kB / 495.2 MB, free: 6.242 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.1235, allocations: 0 / 495.2 MB, free: 6.242 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1235, allocations: 0 / 495.2 MB, free: 6.242 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.1235, allocations: 0 / 495.2 MB, free: 6.242 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.0006914/0.1242, allocations: 0.5681 MB / 495.8 MB, free: 5.625 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.1243, allocations: 8.031 kB / 495.8 MB, free: 5.617 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.11e-05/0.1244, allocations: 44.38 kB / 495.8 MB, free: 5.574 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003481/0.1247, allocations: 314.2 kB / 496.1 MB, free: 5.227 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.1247, allocations: 12.38 kB / 496.1 MB, free: 5.215 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.619e-05/0.1248, allocations: 12.38 kB / 496.2 MB, free: 5.203 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.125, allocations: 133.7 kB / 496.3 MB, free: 5.066 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.1251, allocations: 0 / 496.3 MB, free: 5.066 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.1251, allocations: 4 kB / 496.3 MB, free: 5.062 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.1251, allocations: 8 kB / 496.3 MB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.1253, allocations: 87.94 kB / 496.4 MB, free: 4.969 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006746/0.126, allocations: 0.5041 MB / 496.9 MB, free: 4.414 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.1262, allocations: 106.5 kB / 497 MB, free: 4.301 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.484e-05/0.1263, allocations: 52.83 kB / 497 MB, free: 4.246 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.1263, allocations: 4 kB / 497 MB, free: 4.242 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.1263, allocations: 30.56 kB / 497.1 MB, free: 4.203 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.1264, allocations: 0 / 497.1 MB, free: 4.203 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009732/0.1273, allocations: 455.9 kB / 497.5 MB, free: 3.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.1274, allocations: 55.41 kB / 497.6 MB, free: 3.684 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005032/0.1279, allocations: 0.521 MB / 498.1 MB, free: 3.152 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.1279, allocations: 29.7 kB / 498.1 MB, free: 3.117 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.1281, allocations: 204.3 kB / 498.3 MB, free: 2.914 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.394e-05/0.1281, allocations: 51.2 kB / 498.4 MB, free: 2.863 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.709e-06/0.1281, allocations: 4 kB / 498.4 MB, free: 2.859 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1283, allocations: 346.8 kB / 498.7 MB, free: 2.512 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.1284, allocations: 71.95 kB / 498.8 MB, free: 2.441 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.1285, allocations: 75.95 kB / 498.9 MB, free: 2.367 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/0.1288, allocations: 160.7 kB / 499 MB, free: 2.207 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1288, allocations: 7.875 kB / 499 MB, free: 2.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003576/0.1292, allocations: 236.7 kB / 499.3 MB, free: 1.965 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1292, allocations: 4 kB / 499.3 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1292, allocations: 0 / 499.3 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1292, allocations: 0 / 499.3 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.1294, allocations: 35.97 kB / 499.3 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1294, allocations: 4 kB / 499.3 MB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.661e-05/0.1295, allocations: 11.91 kB / 499.3 MB, free: 1.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.1295, allocations: 4 kB / 499.3 MB, free: 1.906 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.0001605/0.1297, allocations: 189.7 kB / 499.5 MB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.274e-05/0.1297, allocations: 43.47 kB / 499.5 MB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004876/0.1302, allocations: 277.3 kB / 499.8 MB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-06/0.1302, allocations: 4 kB / 499.8 MB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1302, allocations: 4 kB / 499.8 MB, free: 1.383 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1302, allocations: 0 / 499.8 MB, free: 1.383 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008104/0.1311, allocations: 0.6622 MB / 0.4888 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1311, allocations: 0 / 0.4888 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.1312, allocations: 39.92 kB / 0.4888 GB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.1312, allocations: 8 kB / 0.4888 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.1312, allocations: 0 / 0.4888 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1312, allocations: 3.984 kB / 0.4888 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1312, allocations: 3.938 kB / 0.4888 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003885/0.1316, allocations: 337.6 kB / 0.4891 GB, free: 272 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-05/0.1317, allocations: 116.6 kB / 0.4892 GB, free: 136 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.1318, allocations: 4 kB / 0.4892 GB, free: 132 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.856e-05/0.1318, allocations: 7.984 kB / 0.4893 GB, free: 124 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.1319, allocations: 15.92 kB / 0.4893 GB, free: 108 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.1319, allocations: 12 kB / 0.4893 GB, free: 96 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.1841/0.316, allocations: 393.8 kB / 0.4897 GB, free: 43.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.092e-06/0.3161, allocations: 0 / 0.4897 GB, free: 43.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004795/0.3166, allocations: 48.47 kB / 0.4897 GB, free: 43.05 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.001454/0.3181, allocations: 0.6923 MB / 0.4904 GB, free: 42.67 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004682/0.3185, allocations: 174.9 kB / 0.4905 GB, free: 42.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3186, allocations: 0 / 0.4905 GB, free: 42.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.3187, allocations: 100.4 kB / 0.4906 GB, free: 42.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005301/0.3193, allocations: 60.05 kB / 0.4907 GB, free: 42.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.3204, allocations: 0.7649 MB / 0.4914 GB, free: 42.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.3207, allocations: 0.8107 MB / 0.4922 GB, free: 41.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.763e-05/0.3208, allocations: 33.17 kB / 0.4923 GB, free: 41.61 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.3208, allocations: 0 / 0.4923 GB, free: 41.61 MB / 378.7 MB Notification: Performance of Templates: time 0.008754/0.3296, allocations: 4.469 MB / 0.4966 GB, free: 41.08 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches