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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.00132/0.00132, allocations: 121.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001502/0.001502, allocations: 212.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2416/0.2416, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 75.88 kB / 482.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.3953, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.00314/0.3985, allocations: 1.728 MB / 0.5334 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002645/0.4011, allocations: 1.625 MB / 0.535 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.691e-05/0.4013, allocations: 1.375 kB / 0.535 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003327/0.4016, allocations: 36.02 kB / 0.5351 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003682/0.402, allocations: 104.3 kB / 0.5352 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.4022, allocations: 78.92 kB / 0.5352 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.4024, allocations: 102.4 kB / 0.5353 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.4025, allocations: 14.88 kB / 0.5353 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.4027, allocations: 49.64 kB / 0.5354 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.4028, allocations: 42.91 kB / 0.5354 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.4029, allocations: 5.5 kB / 0.5354 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/0.4031, allocations: 115 kB / 0.5355 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.67e-05/0.4032, allocations: 20.05 kB / 0.5356 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.86e-05/0.4032, allocations: 32.05 kB / 0.5356 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003177/0.4035, allocations: 171.1 kB / 0.5358 GB, free: 10.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.4036, allocations: 4 kB / 0.5358 GB, free: 10.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4036, allocations: 0 / 0.5358 GB, free: 10.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.4036, allocations: 0.9375 kB / 0.5358 GB, free: 10.49 MB / 398.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.0006778/0.4043, allocations: 427.8 kB / 0.5362 GB, free: 10.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.4043, allocations: 9.875 kB / 0.5362 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.804e-05/0.4044, allocations: 9.719 kB / 0.5362 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.4047, allocations: 217.9 kB / 0.5364 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.4047, allocations: 10.16 kB / 0.5364 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.4048, allocations: 6.344 kB / 0.5364 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.405, allocations: 69.55 kB / 0.5365 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.405, allocations: 0.9688 kB / 0.5365 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.405, allocations: 0 / 0.5365 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.405, allocations: 0.75 kB / 0.5365 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.859e-05/0.4051, allocations: 18.45 kB / 0.5365 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.4055, allocations: 289.8 kB / 0.5368 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.4057, allocations: 57.78 kB / 0.5368 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.938e-05/0.4058, allocations: 21.62 kB / 0.5368 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.4058, allocations: 1.062 kB / 0.5368 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000153/0.4059, allocations: 65.02 kB / 0.5369 GB, free: 9.301 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 5.069e-06/0.406, allocations: 5.062 kB / 0.5369 GB, free: 9.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005889/0.4066, allocations: 176.7 kB / 0.5371 GB, free: 9.191 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/0.4066, allocations: 83.39 kB / 0.5372 GB, free: 9.094 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.4068, allocations: 166.4 kB / 0.5373 GB, free: 8.957 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.4068, allocations: 30.95 kB / 0.5374 GB, free: 8.922 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.4069, allocations: 99.38 kB / 0.5374 GB, free: 8.824 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.407, allocations: 24.33 kB / 0.5375 GB, free: 8.805 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.515e-05/0.407, allocations: 28.58 kB / 0.5375 GB, free: 8.777 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4071, allocations: 333 kB / 0.5378 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.106e-05/0.4072, allocations: 19.53 kB / 0.5378 GB, free: 8.438 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.448e-05/0.4073, allocations: 41.12 kB / 0.5379 GB, free: 8.402 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.4074, allocations: 59.08 kB / 0.5379 GB, free: 8.363 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4074, allocations: 0 / 0.5379 GB, free: 8.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000226/0.4077, allocations: 103.2 kB / 0.538 GB, free: 8.297 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.4077, allocations: 9.516 kB / 0.538 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.4077, allocations: 1.281 kB / 0.538 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.4078, allocations: 1.188 kB / 0.538 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.931e-05/0.4079, allocations: 12.22 kB / 0.538 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.892e-05/0.4079, allocations: 9.094 kB / 0.5381 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.245e-05/0.4079, allocations: 6.359 kB / 0.5381 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.408, allocations: 3.094 kB / 0.5381 GB, free: 8.281 MB / 398.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.0001026/0.4081, allocations: 124.2 kB / 0.5382 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.4081, allocations: 16.69 kB / 0.5382 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.572e-05/0.4082, allocations: 16.8 kB / 0.5382 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.4082, allocations: 1.062 kB / 0.5382 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.4082, allocations: 5.281 kB / 0.5382 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4082, allocations: 0 / 0.5382 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004713/0.4087, allocations: 391.7 kB / 0.5386 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4087, allocations: 1.156 kB / 0.5386 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.575e-05/0.4087, allocations: 11.62 kB / 0.5386 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.4087, allocations: 5.5 kB / 0.5386 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.4087, allocations: 1.375 kB / 0.5386 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.4088, allocations: 1.219 kB / 0.5386 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.4088, allocations: 3.984 kB / 0.5386 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.409, allocations: 200 kB / 0.5388 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.4091, allocations: 88.48 kB / 0.5389 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.4091, allocations: 9.094 kB / 0.5389 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.292e-05/0.4092, allocations: 6.281 kB / 0.5389 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.4092, allocations: 12.09 kB / 0.5389 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.4093, allocations: 2.625 kB / 0.5389 GB, free: 7.441 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001225/0.4094, allocations: 127.3 kB / 0.539 GB, free: 7.344 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4094, allocations: 0.9688 kB / 0.539 GB, free: 7.344 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003243/0.4097, allocations: 49.42 kB / 0.5391 GB, free: 7.324 MB / 398.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.001297/0.411, allocations: 0.5421 MB / 0.5396 GB, free: 7.043 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002004/0.4112, allocations: 62.66 kB / 0.5397 GB, free: 7.016 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4112, allocations: 0 / 0.5397 GB, free: 7.016 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.641e-05/0.4113, allocations: 25 kB / 0.5397 GB, free: 7.008 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.4117, allocations: 46.69 kB / 0.5398 GB, free: 6.984 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005047/0.4122, allocations: 225.6 kB / 0.54 GB, free: 6.785 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.4125, allocations: 0.6987 MB / 0.5406 GB, free: 6.078 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.587e-05/0.4126, allocations: 17.59 kB / 0.5407 GB, free: 6.07 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4126, allocations: 0 / 0.5407 GB, free: 6.07 MB / 398.1 MB Notification: Performance of Templates: time 0.004922/0.4175, allocations: 2.426 MB / 0.543 GB, free: 4.812 MB / 398.1 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)