Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001118/0.001118, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2088/0.2088, allocations: 44.17 MB / 336.6 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 67.39 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.116, allocations: 60.83 MB / 469.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003537/0.1196, allocations: 1.811 MB / 471.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.1211, allocations: 0.8613 MB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.519e-05/0.1212, allocations: 0 / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002168/0.1215, allocations: 55.75 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002967/0.1218, allocations: 79.59 kB / 472.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.1223, allocations: 166.5 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002604/0.1225, allocations: 195.4 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.1226, allocations: 21.08 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.1228, allocations: 75.69 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.1229, allocations: 103.6 kB / 472.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.302e-05/0.123, allocations: 12 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.1231, allocations: 51.98 kB / 472.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.041e-05/0.1232, allocations: 39.83 kB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.957e-05/0.1233, allocations: 67.59 kB / 472.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003448/0.1236, allocations: 175.7 kB / 472.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1236, allocations: 3.938 kB / 473 MB, free: 10.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1237, allocations: 0 / 473 MB, free: 10.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1237, allocations: 0 / 473 MB, free: 10.67 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001103/0.1248, allocations: 0.5644 MB / 473.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.1248, allocations: 8.031 kB / 473.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.366e-05/0.1249, allocations: 16.75 kB / 473.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.1251, allocations: 228.9 kB / 473.8 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1251, allocations: 4.375 kB / 473.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.1252, allocations: 12.12 kB / 473.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004602/0.1256, allocations: 137.5 kB / 473.9 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1257, allocations: 4 kB / 473.9 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.1257, allocations: 4 kB / 473.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.1257, allocations: 0 / 473.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007056/0.1264, allocations: 163.8 kB / 474.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000508/0.1269, allocations: 376.4 kB / 474.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007488/0.1277, allocations: 190.4 kB / 474.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003576/0.128, allocations: 88.77 kB / 474.7 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.1281, allocations: 4 kB / 474.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000542/0.1286, allocations: 163.2 kB / 474.9 MB, free: 8.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.1287, allocations: 4 kB / 474.9 MB, free: 8.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.003738/0.1324, allocations: 0.8112 MB / 475.7 MB, free: 7.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.1325, allocations: 59.34 kB / 475.8 MB, free: 7.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.1327, allocations: 232 kB / 476 MB, free: 7.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.1328, allocations: 33.7 kB / 476 MB, free: 7.391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.1329, allocations: 124 kB / 476.1 MB, free: 7.266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.984e-05/0.1329, allocations: 48.11 kB / 476.2 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.89e-05/0.133, allocations: 33.7 kB / 476.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1332, allocations: 330.8 kB / 476.5 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007272/0.1339, allocations: 167.8 kB / 476.7 MB, free: 6.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00068/0.1346, allocations: 163.8 kB / 476.9 MB, free: 6.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.136, allocations: 366.4 kB / 477.2 MB, free: 6.152 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.136, allocations: 7.922 kB / 477.2 MB, free: 6.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001506/0.1375, allocations: 452.4 kB / 477.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.007e-05/0.1376, allocations: 63.39 kB / 477.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.1376, allocations: 0 / 477.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.1376, allocations: 0 / 477.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004267/0.1381, allocations: 75.84 kB / 477.8 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.1381, allocations: 7.922 kB / 477.8 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004163/0.1385, allocations: 63.91 kB / 477.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.1385, allocations: 4 kB / 477.9 MB, free: 5.461 MB / 350.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: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001345/0.1387, allocations: 137.8 kB / 478 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/0.1387, allocations: 15.81 kB / 478 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.1402, allocations: 402.7 kB / 478.4 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.1402, allocations: 4 kB / 478.4 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.1402, allocations: 4.047 kB / 478.4 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1403, allocations: 3.938 kB / 478.4 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/0.1421, allocations: 0.6973 MB / 479.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1421, allocations: 0 / 479.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003705/0.1425, allocations: 75.84 kB / 479.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1425, allocations: 3.938 kB / 479.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.1425, allocations: 0 / 479.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1425, allocations: 4 kB / 479.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1425, allocations: 4 kB / 479.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.1439, allocations: 478.7 kB / 479.7 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/0.144, allocations: 92.86 kB / 479.8 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.1441, allocations: 0 / 479.8 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004667/0.1445, allocations: 67.91 kB / 479.8 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.1447, allocations: 43.94 kB / 479.9 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.1447, allocations: 11.98 kB / 479.9 MB, free: 3.344 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001943/0.1449, allocations: 172.4 kB / 480.1 MB, free: 3.176 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1449, allocations: 3.938 kB / 480.1 MB, free: 3.172 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002906/0.1452, allocations: 47.89 kB / 480.1 MB, free: 3.125 MB / 350.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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000907/0.1461, allocations: 423.2 kB / 480.5 MB, free: 2.859 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001566/0.1477, allocations: 474.3 kB / 481 MB, free: 2.371 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1477, allocations: 0 / 481 MB, free: 2.371 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008513/0.1486, allocations: 183.8 kB / 481.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.149, allocations: 34.47 kB / 481.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.1501, allocations: 346.9 kB / 481.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.1503, allocations: 0.7162 MB / 482.3 MB, free: 1.055 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.1505, allocations: 21.41 kB / 482.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.35e-05/0.1506, allocations: 27.42 kB / 482.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1506, allocations: 0 / 482.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of Templates: time 0.006889/0.1575, allocations: 3.495 MB / 485.8 MB, free: 13.53 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1)