Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 105 kB / 16.4 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 192.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2623/0.2623, allocations: 43.53 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 73.45 kB / 441.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1389, allocations: 57.78 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003458/0.1424, allocations: 1.977 MB / 0.4898 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.1437, allocations: 0.7642 MB / 0.4906 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.768e-05/0.1438, allocations: 0 / 0.4906 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004915/0.1443, allocations: 267.2 kB / 0.4908 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003542/0.1447, allocations: 199.3 kB / 0.491 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.1458, allocations: 0.5965 MB / 0.4916 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003536/0.1462, allocations: 295.3 kB / 0.4919 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.1464, allocations: 80.67 kB / 0.4919 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.1465, allocations: 139.4 kB / 0.4921 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.1468, allocations: 199.3 kB / 0.4923 GB, free: 7.289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.1468, allocations: 8 kB / 0.4923 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.1469, allocations: 67.92 kB / 0.4923 GB, free: 7.215 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.1471, allocations: 99.67 kB / 0.4924 GB, free: 7.117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.1472, allocations: 119 kB / 0.4925 GB, free: 7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003501/0.1476, allocations: 306.8 kB / 0.4928 GB, free: 6.699 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1476, allocations: 0 / 0.4928 GB, free: 6.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1476, allocations: 0 / 0.4928 GB, free: 6.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.1476, allocations: 0 / 0.4928 GB, free: 6.699 MB / 382.1 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.0007228/0.1483, allocations: 0.6223 MB / 0.4935 GB, free: 6.027 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1484, allocations: 11.89 kB / 0.4935 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.376e-05/0.1484, allocations: 44.38 kB / 0.4935 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/0.1488, allocations: 310.2 kB / 0.4938 GB, free: 5.629 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.1488, allocations: 12.38 kB / 0.4938 GB, free: 5.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/0.1489, allocations: 12.38 kB / 0.4938 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.1491, allocations: 137.6 kB / 0.494 GB, free: 5.465 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.1491, allocations: 3.938 kB / 0.494 GB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.1492, allocations: 0 / 0.494 GB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.1492, allocations: 4 kB / 0.494 GB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.1494, allocations: 91.88 kB / 0.494 GB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006463/0.15, allocations: 0.4886 MB / 0.4945 GB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.1502, allocations: 110.5 kB / 0.4946 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.662e-05/0.1503, allocations: 40.83 kB / 0.4947 GB, free: 4.668 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.1503, allocations: 0 / 0.4947 GB, free: 4.668 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.1504, allocations: 38.56 kB / 0.4947 GB, free: 4.621 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.1504, allocations: 0 / 0.4947 GB, free: 4.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009445/0.1513, allocations: 443.8 kB / 0.4951 GB, free: 4.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.1514, allocations: 55.41 kB / 0.4952 GB, free: 4.113 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005185/0.1519, allocations: 0.5211 MB / 0.4957 GB, free: 3.582 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.1519, allocations: 25.7 kB / 0.4957 GB, free: 3.551 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.1521, allocations: 200.3 kB / 0.4959 GB, free: 3.352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.1521, allocations: 51.2 kB / 0.496 GB, free: 3.301 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-05/0.1522, allocations: 41.7 kB / 0.496 GB, free: 3.254 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1523, allocations: 346.8 kB / 0.4963 GB, free: 2.906 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.1524, allocations: 71.89 kB / 0.4964 GB, free: 2.836 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.1526, allocations: 70.77 kB / 0.4965 GB, free: 2.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.1528, allocations: 152.7 kB / 0.4966 GB, free: 2.617 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1528, allocations: 3.938 kB / 0.4966 GB, free: 2.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003343/0.1532, allocations: 232 kB / 0.4968 GB, free: 2.383 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.1532, allocations: 4 kB / 0.4968 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1532, allocations: 0 / 0.4968 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1532, allocations: 4 kB / 0.4968 GB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.1534, allocations: 35.92 kB / 0.4969 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1534, allocations: 0 / 0.4969 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.786e-05/0.1534, allocations: 11.89 kB / 0.4969 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.1534, allocations: 8 kB / 0.4969 GB, free: 2.32 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000144/0.1536, allocations: 185.7 kB / 0.4971 GB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.76e-05/0.1537, allocations: 35.53 kB / 0.4971 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004634/0.1541, allocations: 273.2 kB / 0.4974 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1541, allocations: 4 kB / 0.4974 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1542, allocations: 0 / 0.4974 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.1542, allocations: 0 / 0.4974 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007832/0.1549, allocations: 0.6622 MB / 0.498 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.155, allocations: 0 / 0.498 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.1551, allocations: 43.84 kB / 0.4981 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1551, allocations: 0 / 0.4981 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.1551, allocations: 0 / 0.4981 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1551, allocations: 7.938 kB / 0.4981 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/0.1551, allocations: 3.938 kB / 0.4981 GB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004021/0.1555, allocations: 327.7 kB / 0.4984 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.37e-05/0.1556, allocations: 100.7 kB / 0.4985 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.1556, allocations: 11.98 kB / 0.4985 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.381e-05/0.1557, allocations: 7.984 kB / 0.4985 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/0.1558, allocations: 19.92 kB / 0.4985 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.1558, allocations: 4 kB / 0.4985 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000366/0.1562, allocations: 395.1 kB / 0.4989 GB, free: 172 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1562, allocations: 0 / 0.4989 GB, free: 172 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002945/0.1565, allocations: 55.91 kB / 0.499 GB, free: 116 kB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001572/0.1581, allocations: 0.6907 MB / 0.4996 GB, free: 15.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003475/0.1584, allocations: 163.8 kB / 0.4998 GB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1584, allocations: 0 / 0.4998 GB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.1586, allocations: 95.89 kB / 0.4999 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005375/0.1591, allocations: 77.22 kB / 0.4999 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009757/0.1601, allocations: 0.6898 MB / 0.5006 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.1605, allocations: 0.8221 MB / 0.5014 GB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000135/0.1607, allocations: 49.91 kB / 0.5015 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.045e-05/0.1607, allocations: 35.36 kB / 0.5015 GB, free: 13.48 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1607, allocations: 0 / 0.5015 GB, free: 13.48 MB / 398.1 MB Notification: Performance of Templates: time 0.007293/0.168, allocations: 3.266 MB / 0.5047 GB, free: 10.21 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches