Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 98.92 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.0009694/0.0009695, allocations: 177.3 kB / 15.94 MB, free: 228 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.758/1.758, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.4376/0.4376, 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.0006026/0.0006027, allocations: 20 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1482, allocations: 57.52 MB / 433.9 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002221/0.1505, allocations: 1.362 MB / 435.3 MB, free: 4.199 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.1518, allocations: 0.746 MB / 436 MB, free: 3.445 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.832e-05/0.152, allocations: 0 / 436 MB, free: 3.445 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003747/0.1523, allocations: 91.73 kB / 436.1 MB, free: 3.355 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.1526, allocations: 75.83 kB / 436.2 MB, free: 3.281 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.1529, allocations: 71.78 kB / 436.3 MB, free: 3.211 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.1531, allocations: 79.83 kB / 436.4 MB, free: 3.133 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1532, allocations: 12.2 kB / 436.4 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.756e-05/0.1533, allocations: 51.83 kB / 436.4 MB, free: 3.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.1534, allocations: 47.83 kB / 436.5 MB, free: 3.023 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.1534, allocations: 0 / 436.5 MB, free: 3.023 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.517e-05/0.1535, allocations: 35.92 kB / 436.5 MB, free: 2.988 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.463e-05/0.1536, allocations: 27.86 kB / 436.5 MB, free: 2.961 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.211e-05/0.1537, allocations: 45.61 kB / 436.6 MB, free: 2.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.1538, allocations: 100.1 kB / 436.7 MB, free: 2.812 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.1538, allocations: 4 kB / 436.7 MB, free: 2.809 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1538, allocations: 0 / 436.7 MB, free: 2.809 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.1538, allocations: 3.938 kB / 436.7 MB, free: 2.805 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.0005948/0.1544, allocations: 422.7 kB / 437.1 MB, free: 2.344 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.1545, allocations: 8.031 kB / 437.1 MB, free: 2.336 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.1545, allocations: 15.86 kB / 437.1 MB, free: 2.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.1548, allocations: 222.4 kB / 437.3 MB, free: 2.062 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.1549, allocations: 11.92 kB / 437.3 MB, free: 2.051 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.1549, allocations: 0 / 437.3 MB, free: 2.051 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.1551, allocations: 61.67 kB / 437.4 MB, free: 1.984 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.1551, allocations: 0 / 437.4 MB, free: 1.984 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.1551, allocations: 0 / 437.4 MB, free: 1.984 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1551, allocations: 0 / 437.4 MB, free: 1.984 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.412e-05/0.1552, allocations: 31.92 kB / 437.4 MB, free: 1.953 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004186/0.1556, allocations: 308.9 kB / 437.7 MB, free: 1.602 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.1558, allocations: 70.61 kB / 437.8 MB, free: 1.523 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.1559, allocations: 0 / 437.8 MB, free: 1.523 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/0.1561, allocations: 67.52 kB / 437.9 MB, free: 1.445 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.1561, allocations: 4 kB / 437.9 MB, free: 1.441 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006378/0.1567, allocations: 213 kB / 438.1 MB, free: 1.227 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.1568, allocations: 63.33 kB / 438.1 MB, free: 1.152 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.157, allocations: 238.6 kB / 438.4 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.1571, allocations: 25.7 kB / 438.4 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.991e-05/0.1572, allocations: 112.1 kB / 438.5 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.1572, allocations: 27.64 kB / 438.5 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.331e-06/0.1572, allocations: 4 kB / 438.5 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1573, allocations: 330.8 kB / 438.9 MB, free: 404 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.439e-05/0.1574, allocations: 27.98 kB / 438.9 MB, free: 376 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.361e-05/0.1575, allocations: 37.7 kB / 438.9 MB, free: 332 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.672e-05/0.1576, allocations: 27.98 kB / 439 MB, free: 304 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1576, allocations: 0 / 439 MB, free: 304 kB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001962/0.1578, allocations: 117.5 kB / 439.1 MB, free: 180 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1578, allocations: 11.98 kB / 439.1 MB, free: 168 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.1578, allocations: 0 / 439.1 MB, free: 168 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1579, allocations: 7.938 kB / 439.1 MB, free: 160 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.917e-05/0.158, allocations: 19.92 kB / 439.1 MB, free: 140 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.158, allocations: 4 kB / 439.1 MB, free: 136 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.633e-05/0.158, allocations: 4 kB / 439.1 MB, free: 132 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.158, allocations: 4 kB / 439.1 MB, free: 128 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 (11): * Single equations (assignments): 11 * 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.0001373/0.1582, allocations: 134.9 kB / 439.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.1582, allocations: 15.8 kB / 439.3 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.331e-05/0.1583, allocations: 25.36 kB / 439.3 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.1583, allocations: 4 kB / 439.3 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1583, allocations: 0 / 439.3 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1583, allocations: 4 kB / 439.3 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004673/0.1588, allocations: 419.3 kB / 439.7 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1588, allocations: 3.953 kB / 439.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.861e-05/0.1588, allocations: 11.94 kB / 439.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1588, allocations: 4 kB / 439.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.1589, allocations: 8.016 kB / 439.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1589, allocations: 0 / 439.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.1589, allocations: 4 kB / 439.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.1591, allocations: 229.8 kB / 440 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/0.1592, allocations: 96.91 kB / 440.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.1592, allocations: 4 kB / 440.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.686e-05/0.1593, allocations: 4 kB / 440.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.1594, allocations: 11.97 kB / 440.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.1594, allocations: 8 kB / 440.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001543/0.1596, allocations: 180.5 kB / 440.3 MB, free: 14.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1596, allocations: 0 / 440.3 MB, free: 14.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.1598, allocations: 20 kB / 440.3 MB, free: 14.85 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 (9): * Single equations (assignments): 7 * 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.00102/0.1609, allocations: 473.7 kB / 440.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00019/0.1611, allocations: 63.91 kB / 440.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1611, allocations: 0 / 440.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.281e-05/0.1612, allocations: 35.92 kB / 440.8 MB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.1614, allocations: 36.23 kB / 440.9 MB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005244/0.162, allocations: 302.9 kB / 441.2 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.1623, allocations: 0.7238 MB / 441.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.898e-05/0.1624, allocations: 12.66 kB / 441.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.1624, allocations: 19.42 kB / 441.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1624, allocations: 0 / 441.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of Templates: time 0.004683/0.1671, allocations: 1.693 MB / 443.6 MB, free: 11.48 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) Environment - environmentSimulation: