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: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001206/0.001206, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 227.4 MB / 246.9 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.2368/0.2368, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 75.88 kB / 481.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5008/0.5022, allocations: 62.44 MB / 0.5311 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.004475/0.5068, allocations: 1.729 MB / 0.5328 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003237/0.5101, allocations: 1.626 MB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.5102, allocations: 1.219 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004224/0.5107, allocations: 37.61 kB / 0.5344 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006487/0.5114, allocations: 99.72 kB / 0.5345 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004234/0.5118, allocations: 82.95 kB / 0.5346 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002835/0.5121, allocations: 102.6 kB / 0.5347 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.5123, allocations: 14.73 kB / 0.5347 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.5125, allocations: 46.03 kB / 0.5347 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002478/0.5127, allocations: 50.02 kB / 0.5348 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.5128, allocations: 5.25 kB / 0.5348 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002931/0.5131, allocations: 106.8 kB / 0.5349 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.928e-05/0.5131, allocations: 25.41 kB / 0.5349 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.353e-05/0.5132, allocations: 39.97 kB / 0.5349 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004404/0.5137, allocations: 166.7 kB / 0.5351 GB, free: 10.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.5137, allocations: 0 / 0.5351 GB, free: 10.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5137, allocations: 0 / 0.5351 GB, free: 10.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.5137, allocations: 3.938 kB / 0.5351 GB, free: 10.51 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.0008943/0.5146, allocations: 428.5 kB / 0.5355 GB, free: 10.08 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.5147, allocations: 9.625 kB / 0.5355 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.369e-05/0.5148, allocations: 14.34 kB / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.5152, allocations: 214.7 kB / 0.5357 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.5152, allocations: 9.312 kB / 0.5357 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.5152, allocations: 1.375 kB / 0.5357 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.5155, allocations: 74.09 kB / 0.5358 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.5155, allocations: 1.219 kB / 0.5358 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.5155, allocations: 0 / 0.5358 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.5155, allocations: 1.344 kB / 0.5358 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.952e-05/0.5156, allocations: 22.7 kB / 0.5358 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004586/0.5161, allocations: 289.6 kB / 0.5361 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.5163, allocations: 56.86 kB / 0.5362 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.596e-05/0.5163, allocations: 17.55 kB / 0.5362 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.5164, allocations: 5.203 kB / 0.5362 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.5165, allocations: 69.3 kB / 0.5363 GB, free: 9.312 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.5166, allocations: 1.188 kB / 0.5363 GB, free: 9.312 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.00065/0.5172, allocations: 164.3 kB / 0.5364 GB, free: 9.219 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.5173, allocations: 95 kB / 0.5365 GB, free: 9.109 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.5175, allocations: 160.8 kB / 0.5367 GB, free: 8.977 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.5176, allocations: 34.73 kB / 0.5367 GB, free: 8.938 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.5176, allocations: 95.83 kB / 0.5368 GB, free: 8.844 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.5177, allocations: 28.09 kB / 0.5368 GB, free: 8.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.736e-05/0.5177, allocations: 25.22 kB / 0.5368 GB, free: 8.797 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.5179, allocations: 321.6 kB / 0.5371 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.452e-05/0.5179, allocations: 18.86 kB / 0.5372 GB, free: 8.469 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.558e-05/0.518, allocations: 48.84 kB / 0.5372 GB, free: 8.426 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.5182, allocations: 59.7 kB / 0.5373 GB, free: 8.387 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.5182, allocations: 0 / 0.5373 GB, free: 8.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002413/0.5184, allocations: 95.09 kB / 0.5374 GB, free: 8.328 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.5185, allocations: 5.031 kB / 0.5374 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.5185, allocations: 1.312 kB / 0.5374 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.5185, allocations: 5.281 kB / 0.5374 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.5186, allocations: 20.11 kB / 0.5374 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.5187, allocations: 5 kB / 0.5374 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.147e-05/0.5187, allocations: 2.469 kB / 0.5374 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.5188, allocations: 3.531 kB / 0.5374 GB, free: 8.312 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.0001206/0.5189, allocations: 132.3 kB / 0.5375 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.331e-05/0.5189, allocations: 12.31 kB / 0.5375 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.581e-05/0.519, allocations: 13.38 kB / 0.5375 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.519, allocations: 4 kB / 0.5375 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.519, allocations: 4.906 kB / 0.5376 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.519, allocations: 0 / 0.5376 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004985/0.5195, allocations: 397 kB / 0.5379 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.5195, allocations: 384 / 0.5379 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.344e-05/0.5196, allocations: 16.39 kB / 0.5379 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.5196, allocations: 1.281 kB / 0.5379 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.5196, allocations: 5.281 kB / 0.538 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.5196, allocations: 1.125 kB / 0.538 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.5196, allocations: 7.969 kB / 0.538 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/0.5199, allocations: 196.4 kB / 0.5381 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.935e-05/0.52, allocations: 96.02 kB / 0.5382 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.52, allocations: 5.75 kB / 0.5382 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.387e-05/0.5201, allocations: 5.938 kB / 0.5383 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.5202, allocations: 11.91 kB / 0.5383 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.5202, allocations: 7.5 kB / 0.5383 GB, free: 7.453 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001274/0.5203, allocations: 127.7 kB / 0.5384 GB, free: 7.355 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5203, allocations: 0 / 0.5384 GB, free: 7.355 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003634/0.5207, allocations: 49.7 kB / 0.5384 GB, free: 7.336 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.001504/0.5222, allocations: 0.5427 MB / 0.539 GB, free: 7.059 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002341/0.5224, allocations: 54.08 kB / 0.539 GB, free: 7.039 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5225, allocations: 0 / 0.539 GB, free: 7.039 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.595e-05/0.5225, allocations: 29.08 kB / 0.539 GB, free: 7.027 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.5229, allocations: 41.92 kB / 0.5391 GB, free: 7 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005621/0.5235, allocations: 194.7 kB / 0.5393 GB, free: 6.836 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.5239, allocations: 0.7028 MB / 0.54 GB, free: 6.125 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.528e-05/0.524, allocations: 15.12 kB / 0.54 GB, free: 6.113 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.606e-05/0.524, allocations: 21.55 kB / 0.54 GB, free: 6.102 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.524, allocations: 3.938 kB / 0.54 GB, free: 6.098 MB / 398.1 MB Notification: Performance of Templates: time 0.007014/0.531, allocations: 2.358 MB / 0.5423 GB, free: 4.887 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)