Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002824/0.002824, allocations: 198.8 kB / 16.14 MB, free: 6.656 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.706/1.706, allocations: 205.1 MB / 222 MB, free: 4.742 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.3579/0.3579, allocations: 37.98 MB / 307.3 MB, free: 10.03 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.001366/0.001366, allocations: 72.56 kB / 374.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1383, allocations: 56.47 MB / 431 MB, free: 7.051 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003561/0.1419, allocations: 1.724 MB / 432.8 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.1434, allocations: 0.7999 MB / 433.6 MB, free: 4.504 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.711e-05/0.1435, allocations: 4 kB / 433.6 MB, free: 4.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003231/0.1438, allocations: 35.83 kB / 433.6 MB, free: 4.465 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.144, allocations: 43.83 kB / 433.6 MB, free: 4.422 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.1442, allocations: 79.86 kB / 433.7 MB, free: 4.344 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.1444, allocations: 87.69 kB / 433.8 MB, free: 4.258 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.1445, allocations: 20.2 kB / 433.8 MB, free: 4.238 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.833e-05/0.1446, allocations: 35.8 kB / 433.9 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.564e-05/0.1447, allocations: 31.84 kB / 433.9 MB, free: 4.172 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.1447, allocations: 0 / 433.9 MB, free: 4.172 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.1448, allocations: 39.92 kB / 433.9 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.697e-05/0.1449, allocations: 19.92 kB / 433.9 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.225e-05/0.145, allocations: 35.78 kB / 434 MB, free: 4.078 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.1452, allocations: 107.9 kB / 434.1 MB, free: 3.973 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.1452, allocations: 3.984 kB / 434.1 MB, free: 3.969 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1452, allocations: 0 / 434.1 MB, free: 3.969 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1452, allocations: 0 / 434.1 MB, free: 3.969 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.0006138/0.1458, allocations: 411 kB / 434.5 MB, free: 3.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1459, allocations: 8.031 kB / 434.5 MB, free: 3.512 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.976e-05/0.1459, allocations: 16.75 kB / 434.5 MB, free: 3.496 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.1462, allocations: 208 kB / 434.7 MB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.1462, allocations: 8.375 kB / 434.7 MB, free: 3.246 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.1462, allocations: 4.125 kB / 434.7 MB, free: 3.242 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.1464, allocations: 57.67 kB / 434.8 MB, free: 3.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.1464, allocations: 0 / 434.8 MB, free: 3.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.1465, allocations: 4 kB / 434.8 MB, free: 3.176 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1465, allocations: 0 / 434.8 MB, free: 3.176 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.062e-05/0.1466, allocations: 15.98 kB / 434.8 MB, free: 3.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.147, allocations: 288.8 kB / 435.1 MB, free: 2.828 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.1472, allocations: 62.61 kB / 435.1 MB, free: 2.758 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.734e-05/0.1472, allocations: 28.83 kB / 435.2 MB, free: 2.727 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.1473, allocations: 0 / 435.2 MB, free: 2.727 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002414/0.1475, allocations: 63.39 kB / 435.2 MB, free: 2.652 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1475, allocations: 4 kB / 435.2 MB, free: 2.648 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006101/0.1482, allocations: 177.2 kB / 435.4 MB, free: 2.469 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.1482, allocations: 55.41 kB / 435.5 MB, free: 2.402 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.1484, allocations: 178.2 kB / 435.6 MB, free: 2.219 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.1484, allocations: 29.7 kB / 435.7 MB, free: 2.184 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/0.1485, allocations: 112 kB / 435.8 MB, free: 2.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.1486, allocations: 27.64 kB / 435.8 MB, free: 2.043 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.1486, allocations: 17.72 kB / 435.8 MB, free: 2.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1488, allocations: 330.8 kB / 436.1 MB, free: 1.688 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.063e-05/0.1488, allocations: 23.98 kB / 436.2 MB, free: 1.664 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.441e-05/0.1489, allocations: 33.7 kB / 436.2 MB, free: 1.625 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.149, allocations: 57.72 kB / 436.3 MB, free: 1.562 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.149, allocations: 0 / 436.3 MB, free: 1.562 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001921/0.1492, allocations: 109.4 kB / 436.4 MB, free: 1.449 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1492, allocations: 8 kB / 436.4 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1493, allocations: 0 / 436.4 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1493, allocations: 0 / 436.4 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.561e-05/0.1494, allocations: 19.92 kB / 436.4 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.1494, allocations: 4 kB / 436.4 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.623e-05/0.1494, allocations: 3.938 kB / 436.4 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.1495, allocations: 8 kB / 436.4 MB, free: 1.406 MB / 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.1496, allocations: 125.8 kB / 436.5 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.1496, allocations: 11.94 kB / 436.5 MB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.325e-05/0.1497, allocations: 16.72 kB / 436.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1497, allocations: 0 / 436.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1497, allocations: 0 / 436.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1497, allocations: 4.312 kB / 436.6 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004488/0.1501, allocations: 391.3 kB / 436.9 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1502, allocations: 4 kB / 437 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.227e-05/0.1502, allocations: 8 kB / 437 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.1502, allocations: 4.031 kB / 437 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.1502, allocations: 4.125 kB / 437 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1502, allocations: 4 kB / 437 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1502, allocations: 3.938 kB / 437 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.1505, allocations: 208.1 kB / 437.2 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.1505, allocations: 85 kB / 437.3 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.1506, allocations: 15.94 kB / 437.3 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.746e-05/0.1506, allocations: 4 kB / 437.3 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.1507, allocations: 7.984 kB / 437.3 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.1507, allocations: 4 kB / 437.3 MB, free: 428 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.1508, allocations: 140.1 kB / 437.4 MB, free: 288 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.513e-06/0.1508, allocations: 4 kB / 437.4 MB, free: 284 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002475/0.1511, allocations: 27.92 kB / 437.5 MB, free: 256 kB / 366.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 (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.001021/0.1521, allocations: 465.4 kB / 437.9 MB, free: 15.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001674/0.1523, allocations: 59.91 kB / 438 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1523, allocations: 0 / 438 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.009e-05/0.1524, allocations: 27.94 kB / 438 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.1527, allocations: 36.09 kB / 438 MB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004647/0.1532, allocations: 233.2 kB / 438.3 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.1535, allocations: 0.7043 MB / 439 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.074e-05/0.1536, allocations: 12.88 kB / 439 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.1536, allocations: 15.44 kB / 439 MB, free: 14.68 MB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1536, allocations: 0 / 439 MB, free: 14.68 MB / 382.1 MB Notification: Performance of Templates: time 0.004347/0.158, allocations: 1.652 MB / 440.6 MB, free: 13.03 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1)