Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.00105, allocations: 101.4 kB / 15.06 MB, free: 1.094 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.0009885/0.0009887, allocations: 177.3 kB / 15.95 MB, free: 208 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.851/1.851, allocations: 205.4 MB / 222.1 MB, free: 5.68 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.4015/0.4015, allocations: 38.03 MB / 308.4 MB, free: 10.35 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.0005764/0.0005766, allocations: 19.94 kB / 376.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1372, allocations: 57.51 MB / 433.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002594/0.1399, allocations: 1.358 MB / 435.3 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.1412, allocations: 0.746 MB / 436 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.1413, allocations: 0 / 436 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003306/0.1417, allocations: 71.78 kB / 436.1 MB, free: 3.387 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.1419, allocations: 63.84 kB / 436.2 MB, free: 3.324 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.1423, allocations: 75.7 kB / 436.2 MB, free: 3.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.1425, allocations: 75.84 kB / 436.3 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.1426, allocations: 12.22 kB / 436.3 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.1427, allocations: 47.77 kB / 436.4 MB, free: 3.117 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.74e-05/0.1428, allocations: 39.83 kB / 436.4 MB, free: 3.078 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.1428, allocations: 4 kB / 436.4 MB, free: 3.074 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.143, allocations: 31.86 kB / 436.5 MB, free: 3.043 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.592e-05/0.143, allocations: 15.98 kB / 436.5 MB, free: 3.027 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.921e-05/0.1431, allocations: 41.64 kB / 436.5 MB, free: 2.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.1433, allocations: 96.08 kB / 436.6 MB, free: 2.887 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1433, allocations: 0 / 436.6 MB, free: 2.887 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1433, allocations: 0 / 436.6 MB, free: 2.887 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1433, allocations: 0 / 436.6 MB, free: 2.887 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.0006746/0.144, allocations: 406.8 kB / 437 MB, free: 2.441 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.144, allocations: 8.031 kB / 437 MB, free: 2.434 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.519e-05/0.1441, allocations: 15.84 kB / 437 MB, free: 2.418 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.1444, allocations: 203.6 kB / 437.2 MB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.1444, allocations: 12 kB / 437.2 MB, free: 2.168 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.1444, allocations: 0 / 437.2 MB, free: 2.168 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.1446, allocations: 53.67 kB / 437.3 MB, free: 2.109 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1446, allocations: 3.984 kB / 437.3 MB, free: 2.105 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.1446, allocations: 3.984 kB / 437.3 MB, free: 2.102 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.1447, allocations: 4 kB / 437.3 MB, free: 2.098 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.64e-05/0.1447, allocations: 23.88 kB / 437.3 MB, free: 2.074 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.1452, allocations: 284.9 kB / 437.6 MB, free: 1.746 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.1453, allocations: 62.69 kB / 437.7 MB, free: 1.676 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.1454, allocations: 3.984 kB / 437.7 MB, free: 1.672 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.1456, allocations: 67.45 kB / 437.7 MB, free: 1.594 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.1456, allocations: 0 / 437.7 MB, free: 1.594 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005659/0.1462, allocations: 177.1 kB / 437.9 MB, free: 1.414 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.1462, allocations: 63.39 kB / 438 MB, free: 1.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.1464, allocations: 210.4 kB / 438.2 MB, free: 1.125 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.1465, allocations: 29.7 kB / 438.2 MB, free: 1.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.083e-05/0.1466, allocations: 108 kB / 438.3 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.644e-05/0.1466, allocations: 15.75 kB / 438.3 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/0.1466, allocations: 4 kB / 438.3 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1468, allocations: 326.8 kB / 438.6 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.438e-05/0.1468, allocations: 20 kB / 438.7 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.933e-05/0.1469, allocations: 37.7 kB / 438.7 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.16e-05/0.147, allocations: 24.17 kB / 438.7 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.147, allocations: 0 / 438.7 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001866/0.1472, allocations: 113.4 kB / 438.8 MB, free: 440 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1472, allocations: 4 kB / 438.8 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1472, allocations: 3.953 kB / 438.8 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1472, allocations: 4 kB / 438.8 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.1473, allocations: 23.95 kB / 438.9 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.1474, allocations: 0 / 438.9 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.117e-05/0.1474, allocations: 4 kB / 438.9 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.1474, allocations: 0 / 438.9 MB, free: 400 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 9.943e-05/0.1475, allocations: 130.9 kB / 439 MB, free: 260 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.1476, allocations: 15.81 kB / 439 MB, free: 244 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.674e-05/0.1476, allocations: 13.41 kB / 439 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1476, allocations: 7.891 kB / 439 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1476, allocations: 4 kB / 439 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.646e-05/0.1477, allocations: 7.984 kB / 439 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004529/0.1481, allocations: 391.3 kB / 439.4 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.1482, allocations: 0 / 439.4 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.694e-05/0.1482, allocations: 11.95 kB / 439.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1482, allocations: 0 / 439.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.1482, allocations: 0 / 439.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.365e-05/0.1482, allocations: 7.984 kB / 439.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1482, allocations: 0 / 439.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.1485, allocations: 217.9 kB / 439.7 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-05/0.1485, allocations: 92.92 kB / 439.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.1486, allocations: 384 / 439.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.345e-05/0.1487, allocations: 7.984 kB / 439.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.1487, allocations: 16 kB / 439.8 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.1487, allocations: 0 / 439.8 MB, free: 15.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.1489, allocations: 160.2 kB / 439.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1489, allocations: 0 / 439.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.1491, allocations: 24 kB / 440 MB, free: 15.19 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.001005/0.1501, allocations: 465.1 kB / 440.4 MB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.1503, allocations: 67.89 kB / 440.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1503, allocations: 0 / 440.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.436e-05/0.1504, allocations: 35.91 kB / 440.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.1507, allocations: 23.94 kB / 440.5 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00045/0.1511, allocations: 254.2 kB / 440.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.1515, allocations: 0.72 MB / 441.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.785e-05/0.1515, allocations: 16.86 kB / 441.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.1516, allocations: 15.44 kB / 441.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1516, allocations: 0 / 441.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of Templates: time 0.005061/0.1566, allocations: 1.595 MB / 443.1 MB, free: 11.98 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) Environment - environmentSimulation: