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.001148/0.001148, allocations: 112.4 kB / 18.45 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001148/0.001148, allocations: 208 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2573/0.2573, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 79.88 kB / 482.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3982, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003193/0.4014, allocations: 1.738 MB / 0.5334 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002693/0.4041, allocations: 1.621 MB / 0.535 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.4043, allocations: 1.281 kB / 0.535 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003409/0.4046, allocations: 40.42 kB / 0.5351 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004625/0.4051, allocations: 99.72 kB / 0.5351 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003409/0.4055, allocations: 82.97 kB / 0.5352 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002668/0.4057, allocations: 102.7 kB / 0.5353 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.4059, allocations: 10.67 kB / 0.5353 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.406, allocations: 48.84 kB / 0.5354 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000218/0.4063, allocations: 47.7 kB / 0.5354 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.4063, allocations: 4.5 kB / 0.5354 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002847/0.4066, allocations: 111.2 kB / 0.5355 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.252e-05/0.4067, allocations: 20.45 kB / 0.5356 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.524e-05/0.4068, allocations: 32.11 kB / 0.5356 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004644/0.4072, allocations: 170.6 kB / 0.5358 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.4072, allocations: 0 / 0.5358 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4073, allocations: 1.219 kB / 0.5358 GB, free: 10.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.4073, allocations: 0 / 0.5358 GB, free: 10.48 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.0008915/0.4082, allocations: 432.7 kB / 0.5362 GB, free: 10.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.4082, allocations: 8.25 kB / 0.5362 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.415e-05/0.4083, allocations: 14.34 kB / 0.5362 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003515/0.4087, allocations: 208.9 kB / 0.5364 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.4087, allocations: 9.312 kB / 0.5364 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.4087, allocations: 10.67 kB / 0.5364 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.409, allocations: 65.14 kB / 0.5365 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.409, allocations: 5.375 kB / 0.5365 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.409, allocations: 0 / 0.5365 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.4091, allocations: 1.375 kB / 0.5365 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.2e-05/0.4091, allocations: 17.61 kB / 0.5365 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000436/0.4096, allocations: 289.5 kB / 0.5368 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.4098, allocations: 58.56 kB / 0.5368 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.754e-05/0.4099, allocations: 21 kB / 0.5368 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.4099, allocations: 1.312 kB / 0.5368 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/0.41, allocations: 65.27 kB / 0.5369 GB, free: 9.285 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.4101, allocations: 0 / 0.5369 GB, free: 9.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005926/0.4107, allocations: 181.9 kB / 0.5371 GB, free: 9.176 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.4107, allocations: 90.45 kB / 0.5372 GB, free: 9.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.4109, allocations: 162 kB / 0.5373 GB, free: 8.938 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.411, allocations: 35.89 kB / 0.5374 GB, free: 8.898 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.827e-05/0.411, allocations: 99.22 kB / 0.5374 GB, free: 8.801 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.4111, allocations: 20.16 kB / 0.5375 GB, free: 8.785 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/0.4111, allocations: 32.2 kB / 0.5375 GB, free: 8.754 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.4113, allocations: 317.9 kB / 0.5378 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.951e-05/0.4113, allocations: 18.73 kB / 0.5378 GB, free: 8.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.349e-05/0.4114, allocations: 49 kB / 0.5379 GB, free: 8.387 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.4115, allocations: 59.89 kB / 0.5379 GB, free: 8.348 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.4115, allocations: 0 / 0.5379 GB, free: 8.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002121/0.4118, allocations: 103.7 kB / 0.538 GB, free: 8.281 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.4118, allocations: 4.875 kB / 0.538 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.4118, allocations: 1.125 kB / 0.538 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.4118, allocations: 5.156 kB / 0.538 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.786e-05/0.4119, allocations: 16.45 kB / 0.538 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.4119, allocations: 9.375 kB / 0.5381 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.257e-05/0.412, allocations: 1.625 kB / 0.5381 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.964e-06/0.412, allocations: 2.969 kB / 0.5381 GB, free: 8.266 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.0001077/0.4121, allocations: 128.6 kB / 0.5382 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.4122, allocations: 12.66 kB / 0.5382 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.297e-05/0.4122, allocations: 12.78 kB / 0.5382 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.4122, allocations: 1.156 kB / 0.5382 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4122, allocations: 7.938 kB / 0.5382 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.4122, allocations: 5.109 kB / 0.5382 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004819/0.4127, allocations: 388 kB / 0.5386 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4127, allocations: 1.344 kB / 0.5386 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.637e-05/0.4128, allocations: 10.59 kB / 0.5386 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4128, allocations: 1.062 kB / 0.5386 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.4128, allocations: 2.812 kB / 0.5386 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4128, allocations: 0 / 0.5386 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4128, allocations: 5.344 kB / 0.5386 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.4131, allocations: 203.3 kB / 0.5388 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.317e-05/0.4131, allocations: 92.09 kB / 0.5389 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.4132, allocations: 6.188 kB / 0.5389 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.779e-05/0.4133, allocations: 6.062 kB / 0.5389 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.4133, allocations: 7.703 kB / 0.5389 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.4133, allocations: 7.281 kB / 0.5389 GB, free: 7.426 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001205/0.4135, allocations: 128.8 kB / 0.539 GB, free: 7.324 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4135, allocations: 0 / 0.539 GB, free: 7.324 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003276/0.4138, allocations: 50.08 kB / 0.5391 GB, free: 7.305 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.00134/0.4151, allocations: 0.5334 MB / 0.5396 GB, free: 7.031 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002191/0.4154, allocations: 62.94 kB / 0.5397 GB, free: 7.004 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4154, allocations: 0 / 0.5397 GB, free: 7.004 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.028e-05/0.4155, allocations: 25.97 kB / 0.5397 GB, free: 6.996 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.4158, allocations: 44.66 kB / 0.5397 GB, free: 6.973 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004718/0.4163, allocations: 222.8 kB / 0.54 GB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.4167, allocations: 0.7015 MB / 0.5406 GB, free: 6.062 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.831e-05/0.4167, allocations: 25.27 kB / 0.5407 GB, free: 6.047 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4167, allocations: 1.094 kB / 0.5407 GB, free: 6.047 MB / 398.1 MB Notification: Performance of Templates: time 0.005019/0.4218, allocations: 2.419 MB / 0.543 GB, free: 4.797 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)