Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00139/0.00139, allocations: 106.1 kB / 19.8 MB, free: 2.492 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001788/0.001788, allocations: 216.7 kB / 22.99 MB, free: 5.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.542/1.542, allocations: 230.2 MB / 256.2 MB, free: 8.551 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema") translateModel(Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002665/0.002665, allocations: 71.88 kB / 376.5 MB, free: 3.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3705, allocations: 53.32 MB / 429.8 MB, free: 7.574 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema): time 0.004005/0.3745, allocations: 2.042 MB / 431.8 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.3762, allocations: 0.7441 MB / 432.6 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.3763, allocations: 7.938 kB / 432.6 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.954e-05/0.3764, allocations: 27.67 kB / 432.6 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001816/0.3766, allocations: 43.59 kB / 432.7 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005/0.3771, allocations: 151.6 kB / 432.8 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004786/0.3776, allocations: 347.2 kB / 433.1 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.3777, allocations: 48.73 kB / 433.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003288/0.378, allocations: 159.5 kB / 433.3 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.3783, allocations: 163.4 kB / 433.5 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.36e-05/0.3783, allocations: 32 kB / 433.5 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.782e-05/0.3784, allocations: 32 kB / 433.6 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.692e-05/0.3785, allocations: 79.72 kB / 433.6 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.3787, allocations: 131.4 kB / 433.8 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004305/0.3791, allocations: 304 kB / 434.1 MB, free: 3.277 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.3791, allocations: 4 kB / 434.1 MB, free: 3.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.3791, allocations: 0 / 434.1 MB, free: 3.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.3791, allocations: 3.938 kB / 434.1 MB, free: 3.27 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001702/0.3808, allocations: 0.7467 MB / 434.8 MB, free: 2.453 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.3809, allocations: 12.03 kB / 434.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003646/0.3812, allocations: 60.7 kB / 434.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.3816, allocations: 264.9 kB / 435.2 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.887e-05/0.3817, allocations: 20.3 kB / 435.2 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.785e-05/0.3817, allocations: 32.33 kB / 435.2 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008616/0.3826, allocations: 363.1 kB / 435.6 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.3826, allocations: 0 / 435.6 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/0.3827, allocations: 11.98 kB / 435.6 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.3827, allocations: 4 kB / 435.6 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007956/0.3835, allocations: 247.8 kB / 435.8 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.3847, allocations: 0.7072 MB / 436.5 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009193/0.3856, allocations: 332.9 kB / 436.9 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005938/0.3862, allocations: 177.6 kB / 437 MB, free: 124 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.3862, allocations: 4 kB / 437 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009057/0.3871, allocations: 402.8 kB / 437.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 2.084e-06/0.3871, allocations: 0 / 437.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.002018/0.3891, allocations: 0.7504 MB / 438.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.72e-05/0.3892, allocations: 71.39 kB / 438.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.3894, allocations: 195.7 kB / 438.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.322e-05/0.3895, allocations: 45.69 kB / 438.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.3896, allocations: 125 kB / 438.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.3897, allocations: 123 kB / 438.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.3899, allocations: 94.23 kB / 438.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.39, allocations: 338.8 kB / 439.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000421/0.3905, allocations: 161 kB / 439.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004861/0.3909, allocations: 249.2 kB / 439.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009933/0.3919, allocations: 443.8 kB / 440 MB, free: 13.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3919, allocations: 0 / 440 MB, free: 13.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001161/0.3931, allocations: 0.5645 MB / 440.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.411e-05/0.3932, allocations: 89.09 kB / 440.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.3932, allocations: 4 kB / 440.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.3932, allocations: 4 kB / 440.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/0.3936, allocations: 80.09 kB / 440.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.956e-05/0.3936, allocations: 7.938 kB / 440.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004195/0.394, allocations: 67.73 kB / 440.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.81e-05/0.3941, allocations: 16 kB / 440.8 MB, free: 12.16 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 46 (signalExtrema3.t_min,$PRE.signalExtrema3.t_min,signalExtrema3.t_max,$PRE.signalExtrema3.t_max,signalExtrema2.t_min,$PRE.signalExtrema2.t_min,signalExtrema2.t_max,$PRE.signalExtrema2.t_max,signalExtrema1.t_min,$PRE.signalExtrema1.t_min,signalExtrema1.t_max,$PRE.signalExtrema1.t_max,$whenCondition5,signalExtrema2.y_max,$PRE.signalExtrema2.y_max,signalExtrema2.y_min,$PRE.signalExtrema2.y_min,signalExtrema1.y_max,$PRE.signalExtrema1.y_max,signalExtrema1.y_min,$PRE.signalExtrema1.y_min,sawTooth.count,$PRE.sawTooth.count,sawTooth.T_start,$PRE.sawTooth.T_start,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,signalExtrema3.y_max,$PRE.signalExtrema3.y_max,signalExtrema3.y_min,$PRE.signalExtrema3.y_min,sawTooth1.count,$PRE.sawTooth1.count,sawTooth1.T_start,$PRE.sawTooth1.T_start,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 3 * 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.0002321/0.3943, allocations: 169.7 kB / 441 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.002e-05/0.3944, allocations: 27.86 kB / 441 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.89e-05/0.3945, allocations: 42.92 kB / 441 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.3945, allocations: 4 kB / 441 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.3945, allocations: 0 / 441 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.3945, allocations: 3.984 kB / 441 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.3949, allocations: 353.1 kB / 441.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3949, allocations: 4 kB / 441.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/0.3952, allocations: 47.89 kB / 441.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.3952, allocations: 4 kB / 441.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.982e-05/0.3952, allocations: 11.98 kB / 441.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.3952, allocations: 4 kB / 441.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3952, allocations: 0 / 441.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001944/0.3972, allocations: 0.8604 MB / 442.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.027e-05/0.3973, allocations: 100.9 kB / 442.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.011e-05/0.3973, allocations: 12 kB / 442.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003456/0.3977, allocations: 67.92 kB / 442.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.3978, allocations: 47.94 kB / 442.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.512e-05/0.3979, allocations: 23.97 kB / 442.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000132/0.398, allocations: 137.5 kB / 442.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.398, allocations: 0 / 442.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003431/0.3984, allocations: 83.89 kB / 442.8 MB, free: 10.09 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (signalExtrema3.x,signalExtrema1.x,signalExtrema2.x) * Number of discrete variables: 28 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pulse.T_start,pulse.count,sawTooth1.T_start,sawTooth1.count,signalExtrema3.y_min,signalExtrema3.y_max,signalExtrema3.t_min,signalExtrema3.t_max,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,sawTooth.T_start,sawTooth.count,signalExtrema1.y_min,signalExtrema1.y_max,signalExtrema1.t_min,signalExtrema1.t_max,signalExtrema2.y_min,signalExtrema2.y_max,signalExtrema2.t_min,signalExtrema2.t_max) * Number of discrete states: 18 (sawTooth.count,signalExtrema1.y_max,signalExtrema1.t_max,signalExtrema1.y_min,signalExtrema1.t_min,signalExtrema1.u,signalExtrema2.y_max,signalExtrema2.t_max,signalExtrema2.y_min,signalExtrema2.t_min,signalExtrema2.u,pulse.count,sawTooth1.count,signalExtrema3.y_max,signalExtrema3.t_max,signalExtrema3.y_min,signalExtrema3.t_min,signalExtrema3.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 18 * 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.0002418/0.3986, allocations: 137.5 kB / 442.9 MB, free: 9.941 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001309/0.3999, allocations: 0.5835 MB / 443.5 MB, free: 9.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3999, allocations: 0 / 443.5 MB, free: 9.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006083/0.4005, allocations: 227.6 kB / 443.7 MB, free: 9.098 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.4009, allocations: 44.39 kB / 443.8 MB, free: 9.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.4022, allocations: 0.558 MB / 444.3 MB, free: 8.465 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.4027, allocations: 0.7566 MB / 445.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001537/0.4028, allocations: 30.97 kB / 445.1 MB, free: 7.652 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.4029, allocations: 31.42 kB / 445.1 MB, free: 7.621 MB / 350.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4029, allocations: 0 / 445.1 MB, free: 7.621 MB / 350.1 MB Notification: Performance of Templates: time 0.009394/0.4123, allocations: 4.441 MB / 449.6 MB, free: 3.191 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.sim & ./Modelica_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.019500777125359]