Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.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.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001375/0.001375, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.793/1.793, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4014/0.4014, allocations: 38.03 MB / 308.4 MB, free: 10.41 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.0006807/0.0006811, allocations: 19.98 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1386, allocations: 57.52 MB / 433.9 MB, free: 5.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002458/0.1411, allocations: 1.362 MB / 435.3 MB, free: 4.188 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.1427, allocations: 0.7459 MB / 436 MB, free: 3.434 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.1429, allocations: 0 / 436 MB, free: 3.434 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003485/0.1433, allocations: 31.84 kB / 436.1 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002809/0.1436, allocations: 47.86 kB / 436.1 MB, free: 3.355 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.1439, allocations: 71.8 kB / 436.2 MB, free: 3.285 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.1442, allocations: 63.84 kB / 436.3 MB, free: 3.223 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.1443, allocations: 12.22 kB / 436.3 MB, free: 3.211 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.1444, allocations: 39.84 kB / 436.3 MB, free: 3.172 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.44e-05/0.1445, allocations: 31.84 kB / 436.3 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.1446, allocations: 0 / 436.3 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.1447, allocations: 35.86 kB / 436.4 MB, free: 3.105 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.046e-05/0.1448, allocations: 15.98 kB / 436.4 MB, free: 3.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.122e-05/0.1448, allocations: 37.64 kB / 436.4 MB, free: 3.047 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.145, allocations: 92.08 kB / 436.5 MB, free: 2.957 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.145, allocations: 4 kB / 436.5 MB, free: 2.953 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.145, allocations: 3.938 kB / 436.5 MB, free: 2.949 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.1451, allocations: 4 kB / 436.5 MB, free: 2.945 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000612/0.1457, allocations: 406.9 kB / 436.9 MB, free: 2.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1457, allocations: 8.031 kB / 436.9 MB, free: 2.492 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.541e-05/0.1458, allocations: 11.86 kB / 436.9 MB, free: 2.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.1461, allocations: 206.8 kB / 437.1 MB, free: 2.238 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.1461, allocations: 7.984 kB / 437.2 MB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.1462, allocations: 7.938 kB / 437.2 MB, free: 2.223 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.1463, allocations: 53.67 kB / 437.2 MB, free: 2.164 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.1464, allocations: 0 / 437.2 MB, free: 2.164 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.1464, allocations: 11.94 kB / 437.2 MB, free: 2.152 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.1464, allocations: 0 / 437.2 MB, free: 2.152 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.295e-05/0.1465, allocations: 19.94 kB / 437.2 MB, free: 2.133 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004903/0.147, allocations: 288.9 kB / 437.5 MB, free: 1.801 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.1472, allocations: 66.61 kB / 437.6 MB, free: 1.727 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.1472, allocations: 0 / 437.6 MB, free: 1.727 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002376/0.1475, allocations: 71.52 kB / 437.7 MB, free: 1.645 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1475, allocations: 0 / 437.7 MB, free: 1.645 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006598/0.1482, allocations: 177.1 kB / 437.8 MB, free: 1.465 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.1482, allocations: 51.41 kB / 437.9 MB, free: 1.402 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/0.1485, allocations: 222.7 kB / 438.1 MB, free: 1.172 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/0.1486, allocations: 25.7 kB / 438.1 MB, free: 1.141 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.1487, allocations: 112.1 kB / 438.2 MB, free: 1.027 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.948e-05/0.1488, allocations: 27.64 kB / 438.3 MB, free: 1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-06/0.1488, allocations: 0 / 438.3 MB, free: 1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002503/0.1491, allocations: 330.8 kB / 438.6 MB, free: 0.668 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.661e-05/0.1491, allocations: 19.98 kB / 438.6 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.278e-05/0.1492, allocations: 33.7 kB / 438.6 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.292e-05/0.1493, allocations: 27.94 kB / 438.7 MB, free: 0.582 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1493, allocations: 0 / 438.7 MB, free: 0.582 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002449/0.1496, allocations: 105.5 kB / 438.8 MB, free: 484 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.1496, allocations: 4 kB / 438.8 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.1496, allocations: 3.953 kB / 438.8 MB, free: 476 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.1496, allocations: 0 / 438.8 MB, free: 476 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.1498, allocations: 19.94 kB / 438.8 MB, free: 456 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1498, allocations: 0 / 438.8 MB, free: 456 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.427e-05/0.1499, allocations: 12.02 kB / 438.8 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.1499, allocations: 4 kB / 438.8 MB, free: 440 kB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001543/0.1501, allocations: 126.9 kB / 438.9 MB, free: 304 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.1501, allocations: 11.91 kB / 438.9 MB, free: 292 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.117e-05/0.1502, allocations: 17.41 kB / 439 MB, free: 272 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.1502, allocations: 7.953 kB / 439 MB, free: 264 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.1502, allocations: 0 / 439 MB, free: 264 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.1502, allocations: 3.938 kB / 439 MB, free: 260 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006948/0.1509, allocations: 403.2 kB / 439.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1509, allocations: 0 / 439.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.419e-05/0.151, allocations: 11.95 kB / 439.4 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.151, allocations: 0 / 439.4 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.151, allocations: 4 kB / 439.4 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.151, allocations: 0 / 439.4 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.151, allocations: 7.922 kB / 439.4 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/0.1514, allocations: 214 kB / 439.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.782e-05/0.1515, allocations: 88.92 kB / 439.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.1515, allocations: 8 kB / 439.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.357e-05/0.1516, allocations: 4.359 kB / 439.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.1517, allocations: 4 kB / 439.7 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.1517, allocations: 4 kB / 439.7 MB, free: 15.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000163/0.1519, allocations: 172.3 kB / 439.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1519, allocations: 4 kB / 439.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003259/0.1522, allocations: 28 kB / 439.9 MB, free: 15.22 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001157/0.1534, allocations: 473 kB / 440.4 MB, free: 14.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.1536, allocations: 59.97 kB / 440.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1536, allocations: 0 / 440.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.845e-05/0.1537, allocations: 31.92 kB / 440.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.154, allocations: 24.12 kB / 440.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006506/0.1547, allocations: 274.5 kB / 440.8 MB, free: 14.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004377/0.1551, allocations: 0.7121 MB / 441.5 MB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.965e-05/0.1552, allocations: 12.89 kB / 441.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.1553, allocations: 19.42 kB / 441.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1553, allocations: 0 / 441.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of Templates: time 0.005795/0.1611, allocations: 1.606 MB / 443.1 MB, free: 11.99 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) Environment - environmentSimulation: