Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001657/0.001663, allocations: 106.4 kB / 17.2 MB, free: 6.273 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.00214/0.00214, allocations: 194 kB / 18.12 MB, free: 5.363 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.511/1.511, allocations: 222.9 MB / 241.8 MB, free: 15.49 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.227/0.227, allocations: 44.18 MB / 336.1 MB, free: 3.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 64.09 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1143, allocations: 60.82 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003138/0.1175, allocations: 1.871 MB / 470.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.1189, allocations: 0.881 MB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.943e-05/0.119, allocations: 3.938 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003111/0.1193, allocations: 67.84 kB / 471.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002205/0.1196, allocations: 59.69 kB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005595/0.1201, allocations: 197.9 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003222/0.1205, allocations: 175.5 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.1206, allocations: 25.47 kB / 471.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.1208, allocations: 75.69 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.121, allocations: 95.64 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.619e-05/0.1211, allocations: 8 kB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.1212, allocations: 39.92 kB / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.1213, allocations: 43.81 kB / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.1214, allocations: 63.59 kB / 472.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003228/0.1218, allocations: 171.7 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.1218, allocations: 4 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1218, allocations: 0 / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.1218, allocations: 0 / 472.3 MB, free: 11.07 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.001305/0.1231, allocations: 0.5682 MB / 472.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.1232, allocations: 8.031 kB / 472.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.789e-05/0.1233, allocations: 16.75 kB / 472.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.1235, allocations: 225 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.1236, allocations: 8.375 kB / 473.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.396e-05/0.1236, allocations: 12.03 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004905/0.1241, allocations: 145.5 kB / 473.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1241, allocations: 0 / 473.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.1241, allocations: 0 / 473.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1241, allocations: 4 kB / 473.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007097/0.1249, allocations: 171.7 kB / 473.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008419/0.1257, allocations: 420.5 kB / 473.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008092/0.1265, allocations: 206.3 kB / 474 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003599/0.1269, allocations: 96.77 kB / 474.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.127, allocations: 0 / 474.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005584/0.1275, allocations: 167.3 kB / 474.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.904e-06/0.1275, allocations: 3.938 kB / 474.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.003692/0.1312, allocations: 0.8281 MB / 475.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.1313, allocations: 63.28 kB / 475.2 MB, free: 7.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.1315, allocations: 246.9 kB / 475.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.1316, allocations: 29.7 kB / 475.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.364e-05/0.1317, allocations: 128 kB / 475.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.872e-05/0.1317, allocations: 31.55 kB / 475.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.229e-05/0.1318, allocations: 33.7 kB / 475.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.132, allocations: 330.8 kB / 476 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007235/0.1327, allocations: 175.8 kB / 476.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000696/0.1334, allocations: 179.8 kB / 476.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.1347, allocations: 378.4 kB / 476.7 MB, free: 6.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1348, allocations: 0 / 476.7 MB, free: 6.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001528/0.1363, allocations: 472.4 kB / 477.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.457e-05/0.1364, allocations: 63.41 kB / 477.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1364, allocations: 0 / 477.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.1364, allocations: 0 / 477.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004321/0.1368, allocations: 71.89 kB / 477.3 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.1368, allocations: 7.938 kB / 477.3 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004128/0.1373, allocations: 59.91 kB / 477.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.631e-05/0.1373, allocations: 4 kB / 477.3 MB, free: 5.715 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.0001355/0.1374, allocations: 137.8 kB / 477.5 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.1375, allocations: 19.81 kB / 477.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/0.1391, allocations: 418.6 kB / 477.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1391, allocations: 4 kB / 477.9 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.1391, allocations: 3.938 kB / 477.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1391, allocations: 0 / 477.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/0.1409, allocations: 0.7208 MB / 478.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.1409, allocations: 0 / 478.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003781/0.1413, allocations: 67.91 kB / 478.7 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.1413, allocations: 7.938 kB / 478.7 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.1413, allocations: 4 kB / 478.7 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.1413, allocations: 0 / 478.7 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1413, allocations: 3.938 kB / 478.7 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/0.1428, allocations: 483 kB / 479.2 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.2e-05/0.1429, allocations: 97.41 kB / 479.3 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.143, allocations: 7.938 kB / 479.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004287/0.1434, allocations: 59.91 kB / 479.4 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.1436, allocations: 47.92 kB / 479.4 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.1436, allocations: 4 kB / 479.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001711/0.1438, allocations: 184.4 kB / 479.6 MB, free: 3.375 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1438, allocations: 3.938 kB / 479.6 MB, free: 3.371 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003156/0.1441, allocations: 48 kB / 479.6 MB, free: 3.324 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.0009096/0.145, allocations: 411 kB / 480 MB, free: 3.074 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001617/0.1466, allocations: 490.3 kB / 480.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1467, allocations: 0 / 480.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007444/0.1474, allocations: 183.8 kB / 480.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.1478, allocations: 39.86 kB / 480.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009418/0.1488, allocations: 412.4 kB / 481.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.1491, allocations: 0.7321 MB / 481.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001557/0.1492, allocations: 33.39 kB / 481.9 MB, free: 1.129 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.176e-05/0.1493, allocations: 15.44 kB / 481.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1494, allocations: 0 / 481.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of Templates: time 0.006604/0.156, allocations: 3.127 MB / 485 MB, free: 14.01 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)