Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test2.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.CombiTable2D.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test2") translateModel(ModelicaTest.Tables.CombiTable2D.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01057/0.01057, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.002224/0.002224, allocations: 188.6 kB / 16.67 MB, free: 5.93 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.627/1.627, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2123/0.2123, allocations: 38 MB / 307.9 MB, free: 5.977 MB / 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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 68.47 kB / 433 MB, free: 14.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1412, allocations: 56.47 MB / 489.5 MB, free: 5.859 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.003251/0.1445, allocations: 1.596 MB / 491.1 MB, free: 4.246 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006548/0.1452, allocations: 320.8 kB / 491.4 MB, free: 3.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.353e-05/0.1453, allocations: 0 / 491.4 MB, free: 3.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005886/0.1459, allocations: 455.1 kB / 491.8 MB, free: 3.484 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004099/0.1463, allocations: 255.4 kB / 492.1 MB, free: 3.234 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.1466, allocations: 99.78 kB / 492.2 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000238/0.1468, allocations: 159.7 kB / 492.3 MB, free: 2.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.147, allocations: 20.16 kB / 492.3 MB, free: 2.961 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.1471, allocations: 107.7 kB / 492.4 MB, free: 2.855 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.1474, allocations: 211.7 kB / 492.7 MB, free: 2.648 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.1474, allocations: 0 / 492.7 MB, free: 2.648 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.593e-05/0.1475, allocations: 32 kB / 492.7 MB, free: 2.617 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.1476, allocations: 91.61 kB / 492.8 MB, free: 2.527 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.749e-05/0.1477, allocations: 99 kB / 492.9 MB, free: 2.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003153/0.148, allocations: 251 kB / 493.1 MB, free: 2.184 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.148, allocations: 0 / 493.1 MB, free: 2.184 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.148, allocations: 0 / 493.1 MB, free: 2.184 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.353e-06/0.1481, allocations: 0 / 493.1 MB, free: 2.184 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008329/0.1489, allocations: 0.622 MB / 493.7 MB, free: 1.512 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.1489, allocations: 15.89 kB / 493.8 MB, free: 1.496 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.292e-05/0.149, allocations: 44.38 kB / 493.8 MB, free: 1.453 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.1493, allocations: 296.2 kB / 494.1 MB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.1493, allocations: 384 / 494.1 MB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.1494, allocations: 384 / 494.1 MB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.1495, allocations: 61.56 kB / 494.1 MB, free: 1.059 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.1496, allocations: 3.938 kB / 494.2 MB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.1496, allocations: 0 / 494.2 MB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1496, allocations: 0 / 494.2 MB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.1497, allocations: 31.95 kB / 494.2 MB, free: 1.023 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005784/0.1503, allocations: 392.6 kB / 494.6 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.1505, allocations: 38.56 kB / 494.6 MB, free: 0.543 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.212e-05/0.1506, allocations: 16.86 kB / 494.6 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.1506, allocations: 0 / 494.6 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.1506, allocations: 34.64 kB / 494.7 MB, free: 492 kB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.1506, allocations: 4 kB / 494.7 MB, free: 488 kB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006294/0.1513, allocations: 227.9 kB / 494.9 MB, free: 252 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.1513, allocations: 55.41 kB / 494.9 MB, free: 184 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007958/0.1521, allocations: 0.8535 MB / 495.8 MB, free: 15.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.1522, allocations: 25.7 kB / 495.8 MB, free: 15.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.1523, allocations: 224.1 kB / 496 MB, free: 15.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.1524, allocations: 23.66 kB / 496.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.1524, allocations: 13.72 kB / 496.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1525, allocations: 366.8 kB / 496.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.889e-05/0.1526, allocations: 19.92 kB / 496.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.556e-05/0.1527, allocations: 19.98 kB / 496.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.1528, allocations: 44.84 kB / 496.5 MB, free: 14.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1528, allocations: 4 kB / 496.5 MB, free: 14.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000192/0.153, allocations: 113.4 kB / 496.6 MB, free: 14.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1531, allocations: 8 kB / 496.6 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1531, allocations: 0 / 496.6 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.1531, allocations: 0 / 496.6 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.343e-05/0.1532, allocations: 15.94 kB / 496.6 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1532, allocations: 0 / 496.6 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.096e-05/0.1532, allocations: 11.92 kB / 496.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.1532, allocations: 8 kB / 496.7 MB, free: 14.4 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 (5): * Single equations (assignments): 5 * 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.0001722/0.1534, allocations: 209.7 kB / 496.9 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.677e-05/0.1535, allocations: 43.44 kB / 496.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.612e-05/0.1536, allocations: 51.39 kB / 497 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1536, allocations: 0 / 497 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1536, allocations: 7.938 kB / 497 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1536, allocations: 3.938 kB / 497 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005159/0.1541, allocations: 450.5 kB / 497.4 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1541, allocations: 0 / 497.4 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.468e-05/0.1542, allocations: 19.92 kB / 497.4 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1542, allocations: 0 / 497.4 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.1542, allocations: 3.938 kB / 497.4 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1542, allocations: 0 / 497.4 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1542, allocations: 3.938 kB / 497.4 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.1545, allocations: 219 kB / 497.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.688e-05/0.1546, allocations: 104.6 kB / 497.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.1546, allocations: 7.938 kB / 497.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.594e-05/0.1547, allocations: 0 / 497.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.1547, allocations: 7.984 kB / 497.8 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.1548, allocations: 128 / 497.8 MB, free: 13.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005948/0.1554, allocations: 0.6472 MB / 498.4 MB, free: 12.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1554, allocations: 0 / 498.4 MB, free: 12.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.1556, allocations: 28 kB / 498.4 MB, free: 12.52 MB / 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 (5): * Single equations (assignments): 5 * 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.0009938/0.1566, allocations: 411.5 kB / 498.9 MB, free: 12.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002301/0.1569, allocations: 43.97 kB / 498.9 MB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1569, allocations: 7.938 kB / 498.9 MB, free: 12.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.842e-05/0.157, allocations: 19.98 kB / 498.9 MB, free: 12.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.1574, allocations: 33.75 kB / 499 MB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.1586, allocations: 0.7755 MB / 499.7 MB, free: 11.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/0.159, allocations: 0.8221 MB / 0.4888 GB, free: 10.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.369e-05/0.1591, allocations: 8.234 kB / 0.4888 GB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/0.1591, allocations: 11.44 kB / 0.4888 GB, free: 10.37 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1591, allocations: 0 / 0.4888 GB, free: 10.37 MB / 382.1 MB Notification: Performance of Templates: time 0.005105/0.1642, allocations: 1.459 MB / 0.4903 GB, free: 8.91 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test2.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1)