Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001308/0.001308, allocations: 196.6 kB / 18.1 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 226.5 MB / 245.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001084/0.001085, allocations: 101.2 kB / 297.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3737/0.3737, allocations: 44.82 MB / 394.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000295/0.000295, allocations: 12 kB / 467.9 MB, free: 11.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.419, allocations: 62.95 MB / 0.5184 GB, free: 37.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.552, allocations: 90.88 MB / 0.6072 GB, free: 14.42 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.5523, allocations: 79.89 kB / 0.6073 GB, free: 14.34 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02101/0.5734, allocations: 7.255 MB / 0.6143 GB, free: 7.078 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.887e-06/0.5734, allocations: 0 / 0.6143 GB, free: 7.078 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.5734, allocations: 7.938 kB / 0.6143 GB, free: 7.07 MB / 426.7 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.0005246/0.574, allocations: 435 kB / 0.6148 GB, free: 6.594 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.574, allocations: 8.031 kB / 0.6148 GB, free: 6.586 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.5741, allocations: 12.75 kB / 0.6148 GB, free: 6.574 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.5744, allocations: 223.4 kB / 0.615 GB, free: 6.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.5744, allocations: 8.359 kB / 0.615 GB, free: 6.312 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.5744, allocations: 384 / 0.615 GB, free: 6.312 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.5746, allocations: 75.52 kB / 0.6151 GB, free: 6.227 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.5746, allocations: 0 / 0.6151 GB, free: 6.227 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.5746, allocations: 4 kB / 0.6151 GB, free: 6.223 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.5746, allocations: 0 / 0.6151 GB, free: 6.223 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.111e-05/0.5747, allocations: 23.98 kB / 0.6151 GB, free: 6.199 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.5751, allocations: 292.8 kB / 0.6154 GB, free: 5.863 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.5753, allocations: 62.67 kB / 0.6154 GB, free: 5.793 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.486e-05/0.5753, allocations: 24.84 kB / 0.6155 GB, free: 5.766 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.5753, allocations: 0 / 0.6155 GB, free: 5.766 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000137/0.5755, allocations: 67.33 kB / 0.6155 GB, free: 5.688 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.502e-06/0.5755, allocations: 4 kB / 0.6155 GB, free: 5.684 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005387/0.576, allocations: 173.3 kB / 0.6157 GB, free: 5.508 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.5761, allocations: 88.92 kB / 0.6158 GB, free: 5.402 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.5763, allocations: 168.9 kB / 0.6159 GB, free: 5.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.5763, allocations: 25.7 kB / 0.616 GB, free: 5.199 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.474e-05/0.5764, allocations: 100.1 kB / 0.6161 GB, free: 5.098 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.5764, allocations: 31.62 kB / 0.6161 GB, free: 5.066 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.5764, allocations: 0 / 0.6161 GB, free: 5.066 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.5765, allocations: 326.8 kB / 0.6164 GB, free: 4.738 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.724e-05/0.5766, allocations: 24 kB / 0.6164 GB, free: 4.715 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.001e-05/0.5767, allocations: 38.56 kB / 0.6165 GB, free: 4.668 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.5768, allocations: 69.7 kB / 0.6165 GB, free: 4.594 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.5769, allocations: 0 / 0.6165 GB, free: 4.594 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001858/0.577, allocations: 97.58 kB / 0.6166 GB, free: 4.492 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.5771, allocations: 4.062 kB / 0.6166 GB, free: 4.488 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.5771, allocations: 4 kB / 0.6166 GB, free: 4.484 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.5771, allocations: 0 / 0.6166 GB, free: 4.484 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.459e-05/0.5772, allocations: 23.92 kB / 0.6167 GB, free: 4.461 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.5772, allocations: 0 / 0.6167 GB, free: 4.461 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.136e-05/0.5773, allocations: 8 kB / 0.6167 GB, free: 4.453 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.5773, allocations: 0 / 0.6167 GB, free: 4.453 MB / 426.7 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.35e-05/0.5774, allocations: 121.8 kB / 0.6168 GB, free: 4.324 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.5774, allocations: 16.17 kB / 0.6168 GB, free: 4.309 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.5777, allocations: 122.3 kB / 0.6169 GB, free: 4.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.5777, allocations: 0 / 0.6169 GB, free: 4.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5777, allocations: 0 / 0.6169 GB, free: 4.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.5777, allocations: 4 kB / 0.6169 GB, free: 4.176 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004698/0.5782, allocations: 415.2 kB / 0.6173 GB, free: 3.711 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.5782, allocations: 0 / 0.6173 GB, free: 3.711 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.015e-05/0.5782, allocations: 12 kB / 0.6173 GB, free: 3.699 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.5782, allocations: 4.031 kB / 0.6173 GB, free: 3.695 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.5782, allocations: 0 / 0.6173 GB, free: 3.695 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.5783, allocations: 4.219 kB / 0.6173 GB, free: 3.691 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5783, allocations: 7.938 kB / 0.6173 GB, free: 3.684 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.5785, allocations: 204.2 kB / 0.6175 GB, free: 3.465 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.096e-05/0.5786, allocations: 100.9 kB / 0.6176 GB, free: 3.348 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.5786, allocations: 0 / 0.6176 GB, free: 3.348 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.93e-05/0.5787, allocations: 15.88 kB / 0.6176 GB, free: 3.332 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.5788, allocations: 15.92 kB / 0.6177 GB, free: 3.316 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.5788, allocations: 0 / 0.6177 GB, free: 3.316 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001137/0.5789, allocations: 128.1 kB / 0.6178 GB, free: 3.191 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5789, allocations: 0 / 0.6178 GB, free: 3.191 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003242/0.5792, allocations: 63.91 kB / 0.6178 GB, free: 3.129 MB / 426.7 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.001241/0.5805, allocations: 0.5523 MB / 0.6184 GB, free: 2.758 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.5807, allocations: 63.91 kB / 0.6184 GB, free: 2.695 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5807, allocations: 0 / 0.6184 GB, free: 2.695 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.792e-05/0.5808, allocations: 35.92 kB / 0.6185 GB, free: 2.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.5811, allocations: 24.58 kB / 0.6185 GB, free: 2.637 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004448/0.5816, allocations: 226.1 kB / 0.6187 GB, free: 2.387 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.5819, allocations: 0.7043 MB / 0.6194 GB, free: 1.656 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.793e-05/0.582, allocations: 16.86 kB / 0.6194 GB, free: 1.641 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.67e-05/0.582, allocations: 19.42 kB / 0.6194 GB, free: 1.621 MB / 426.7 MB Notification: Performance of SimCode: time 5.81e-07/0.5821, allocations: 0 / 0.6194 GB, free: 1.621 MB / 426.7 MB Notification: Performance of Templates: time 0.005204/0.5873, allocations: 2.302 MB / 0.6217 GB, free: 15.33 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1)