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.001637/0.001642, allocations: 188.9 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.09/2.09, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001121/0.001121, allocations: 82.86 kB / 270.9 MB, free: 13.38 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.4023/0.4023, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006182/0.0006185, allocations: 8 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1198, allocations: 58.86 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003169/0.1231, allocations: 1.61 MB / 491.8 MB, free: 7.715 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.125, allocations: 0.6087 MB / 492.4 MB, free: 7.102 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.1252, allocations: 7.938 kB / 492.4 MB, free: 7.094 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006138/0.1258, allocations: 239.4 kB / 492.7 MB, free: 6.859 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004621/0.1263, allocations: 171.6 kB / 492.8 MB, free: 6.691 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002195/0.1285, allocations: 0.5536 MB / 493.4 MB, free: 6.137 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005166/0.1291, allocations: 203.5 kB / 493.6 MB, free: 5.938 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.1293, allocations: 64.64 kB / 493.7 MB, free: 5.875 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.1295, allocations: 111.5 kB / 493.8 MB, free: 5.766 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000294/0.1298, allocations: 139.5 kB / 493.9 MB, free: 5.629 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.382e-05/0.1299, allocations: 4 kB / 493.9 MB, free: 5.625 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001994/0.1301, allocations: 39.94 kB / 494 MB, free: 5.586 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.1302, allocations: 87.66 kB / 494 MB, free: 5.5 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.527e-05/0.1303, allocations: 65.52 kB / 494.1 MB, free: 5.43 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004356/0.1308, allocations: 231.6 kB / 494.3 MB, free: 5.203 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.1308, allocations: 0 / 494.3 MB, free: 5.203 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1308, allocations: 0 / 494.3 MB, free: 5.203 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1308, allocations: 0 / 494.3 MB, free: 5.203 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.00104/0.1319, allocations: 0.6068 MB / 494.9 MB, free: 4.547 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.1319, allocations: 8.031 kB / 494.9 MB, free: 4.539 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.784e-05/0.132, allocations: 39.48 kB / 495 MB, free: 4.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005342/0.1326, allocations: 317.1 kB / 495.3 MB, free: 4.148 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.1326, allocations: 12 kB / 495.3 MB, free: 4.137 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/0.1327, allocations: 12 kB / 495.3 MB, free: 4.125 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/0.1331, allocations: 117.6 kB / 495.4 MB, free: 4.004 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.1331, allocations: 11.94 kB / 495.4 MB, free: 3.992 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.1331, allocations: 0 / 495.4 MB, free: 3.992 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1331, allocations: 0 / 495.4 MB, free: 3.992 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003361/0.1335, allocations: 99.92 kB / 495.5 MB, free: 3.895 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.1346, allocations: 0.5119 MB / 496.1 MB, free: 3.332 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.1349, allocations: 114.4 kB / 496.2 MB, free: 3.211 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.195e-05/0.135, allocations: 11.97 kB / 496.2 MB, free: 3.199 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.135, allocations: 38.56 kB / 496.2 MB, free: 3.152 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 2.665e-06/0.135, allocations: 0 / 496.2 MB, free: 3.152 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.001593/0.1366, allocations: 447.3 kB / 496.6 MB, free: 2.711 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.1367, allocations: 59.39 kB / 496.7 MB, free: 2.641 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009303/0.1376, allocations: 0.5486 MB / 497.3 MB, free: 2.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.1377, allocations: 29.69 kB / 497.3 MB, free: 2.055 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.1379, allocations: 235 kB / 497.5 MB, free: 1.824 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.072e-05/0.138, allocations: 55.2 kB / 497.6 MB, free: 1.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.64e-05/0.138, allocations: 11.94 kB / 497.6 MB, free: 1.758 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1382, allocations: 326.8 kB / 497.9 MB, free: 1.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.1384, allocations: 63.95 kB / 498 MB, free: 1.367 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.1387, allocations: 71.95 kB / 498 MB, free: 1.297 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.139, allocations: 75.97 kB / 498.1 MB, free: 1.223 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.139, allocations: 0 / 498.1 MB, free: 1.223 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006257/0.1396, allocations: 205.4 kB / 498.3 MB, free: 1.016 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.1397, allocations: 4 kB / 498.3 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.1397, allocations: 3.984 kB / 498.3 MB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.1397, allocations: 0 / 498.3 MB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.14, allocations: 39.98 kB / 498.4 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.14, allocations: 0 / 498.4 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.1402, allocations: 12 kB / 498.4 MB, free: 0.957 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.1402, allocations: 7.984 kB / 498.4 MB, free: 0.9492 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 (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.0002797/0.1405, allocations: 185.7 kB / 498.6 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.065e-05/0.1406, allocations: 39.52 kB / 498.6 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008666/0.1415, allocations: 291.9 kB / 498.9 MB, free: 436 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1415, allocations: 0 / 498.9 MB, free: 436 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1415, allocations: 0 / 498.9 MB, free: 436 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.1415, allocations: 11.92 kB / 498.9 MB, free: 424 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.143, allocations: 0.6855 MB / 499.6 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.1431, allocations: 0 / 499.6 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/0.1433, allocations: 35.92 kB / 499.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.1433, allocations: 4 kB / 499.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.1434, allocations: 11.98 kB / 499.6 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.1434, allocations: 4 kB / 499.6 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.1434, allocations: 3.953 kB / 499.6 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007785/0.1442, allocations: 333 kB / 500 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.1443, allocations: 124.6 kB / 0.4884 GB, free: 15.13 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.234e-05/0.1444, allocations: 8 kB / 0.4884 GB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.1446, allocations: 8 kB / 0.4884 GB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.1447, allocations: 23.86 kB / 0.4884 GB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.1447, allocations: 4 kB / 0.4884 GB, free: 15.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007034/0.1454, allocations: 415.1 kB / 0.4888 GB, free: 14.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1454, allocations: 0 / 0.4888 GB, free: 14.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004577/0.1459, allocations: 51.98 kB / 0.4888 GB, free: 14.63 MB / 346.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.00213/0.1481, allocations: 0.6928 MB / 0.4895 GB, free: 14 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006516/0.1487, allocations: 171.8 kB / 0.4897 GB, free: 13.83 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1488, allocations: 0 / 0.4897 GB, free: 13.83 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002821/0.149, allocations: 99.89 kB / 0.4898 GB, free: 13.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006676/0.1497, allocations: 69.38 kB / 0.4898 GB, free: 13.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.1515, allocations: 0.7885 MB / 0.4906 GB, free: 12.84 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006143/0.1521, allocations: 0.8301 MB / 0.4914 GB, free: 11.98 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.1523, allocations: 35.42 kB / 0.4915 GB, free: 11.95 MB / 346.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1523, allocations: 0 / 0.4915 GB, free: 11.95 MB / 346.7 MB Notification: Performance of Templates: time 0.01201/0.1643, allocations: 4.708 MB / 0.4961 GB, free: 7.23 MB / 346.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/jenkins1/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