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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001335/0.001335, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001489/0.001489, allocations: 215.3 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 230.2 MB / 256.8 MB, free: 8.645 MB / 206.1 MB [Timeout remaining time 88] 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.001887/0.001887, allocations: 71.88 kB / 376.9 MB, free: 3.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3704, allocations: 53.31 MB / 430.2 MB, free: 7.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema): time 0.003576/0.374, allocations: 2.038 MB / 432.2 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.3754, allocations: 0.7519 MB / 433 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.3755, allocations: 3.938 kB / 433 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.814e-05/0.3756, allocations: 23.67 kB / 433 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.3758, allocations: 51.53 kB / 433.1 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004481/0.3762, allocations: 147.7 kB / 433.2 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004173/0.3766, allocations: 347.2 kB / 433.5 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.3768, allocations: 44.8 kB / 433.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002955/0.3771, allocations: 155.5 kB / 433.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002374/0.3773, allocations: 163.4 kB / 433.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.776e-05/0.3774, allocations: 36 kB / 433.9 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.148e-05/0.3775, allocations: 32 kB / 434 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.009e-05/0.3775, allocations: 79.66 kB / 434 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.3777, allocations: 135.4 kB / 434.2 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003885/0.3781, allocations: 300.1 kB / 434.5 MB, free: 3.379 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3781, allocations: 4 kB / 434.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3781, allocations: 0 / 434.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.3781, allocations: 3.938 kB / 434.5 MB, free: 3.371 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.001582/0.3797, allocations: 0.7428 MB / 435.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.3797, allocations: 8.031 kB / 435.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003499/0.3801, allocations: 68.7 kB / 435.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/0.3805, allocations: 260.9 kB / 435.5 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.954e-05/0.3805, allocations: 24.36 kB / 435.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.13e-05/0.3806, allocations: 28.33 kB / 435.6 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008591/0.3815, allocations: 355.1 kB / 435.9 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.3815, allocations: 0 / 435.9 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.726e-05/0.3815, allocations: 11.98 kB / 436 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.3815, allocations: 4 kB / 436 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008202/0.3823, allocations: 251.7 kB / 436.2 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.3835, allocations: 0.6994 MB / 436.9 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009196/0.3844, allocations: 332.9 kB / 437.2 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005318/0.3849, allocations: 181.5 kB / 437.4 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.385, allocations: 8 kB / 437.4 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009222/0.3859, allocations: 398.8 kB / 437.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 2.104e-06/0.3859, allocations: 3.938 kB / 437.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.002041/0.3879, allocations: 0.7465 MB / 438.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/0.388, allocations: 67.41 kB / 438.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.3882, allocations: 203.7 kB / 438.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.364e-05/0.3883, allocations: 45.69 kB / 438.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.3884, allocations: 129 kB / 439 MB, free: 14.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.3885, allocations: 119 kB / 439.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.3887, allocations: 94.23 kB / 439.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.3888, allocations: 338.8 kB / 439.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000446/0.3893, allocations: 161 kB / 439.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005012/0.3898, allocations: 241.2 kB / 439.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009012/0.3907, allocations: 443.8 kB / 440.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.3907, allocations: 0 / 440.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001208/0.3919, allocations: 0.5685 MB / 440.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.006e-05/0.392, allocations: 93.09 kB / 441 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.392, allocations: 4 kB / 441 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.392, allocations: 4 kB / 441 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003885/0.3924, allocations: 79.81 kB / 441.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.3924, allocations: 4 kB / 441.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003514/0.3928, allocations: 63.86 kB / 441.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/0.3928, allocations: 20 kB / 441.2 MB, free: 12.28 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.000224/0.393, allocations: 173.6 kB / 441.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.986e-05/0.3931, allocations: 23.86 kB / 441.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.867e-05/0.3932, allocations: 34.98 kB / 441.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.3932, allocations: 4 kB / 441.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.3932, allocations: 8 kB / 441.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.3932, allocations: 3.984 kB / 441.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004302/0.3936, allocations: 357.1 kB / 441.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3936, allocations: 0 / 441.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/0.3939, allocations: 47.95 kB / 441.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.3939, allocations: 0 / 441.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/0.394, allocations: 15.98 kB / 441.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.394, allocations: 0 / 441.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.394, allocations: 0 / 441.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/0.396, allocations: 0.8604 MB / 442.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-05/0.3961, allocations: 108.9 kB / 442.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.892e-05/0.3961, allocations: 16 kB / 442.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/0.3965, allocations: 59.92 kB / 442.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.3966, allocations: 47.94 kB / 442.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.021e-05/0.3967, allocations: 27.97 kB / 443 MB, free: 10.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.3968, allocations: 137.5 kB / 443.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3968, allocations: 3.938 kB / 443.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003654/0.3972, allocations: 83.89 kB / 443.2 MB, free: 10.19 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.0002029/0.3974, allocations: 129.5 kB / 443.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001301/0.3987, allocations: 0.5907 MB / 443.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3987, allocations: 448 / 443.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006118/0.3993, allocations: 231.5 kB / 444.1 MB, free: 9.203 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.3996, allocations: 43.89 kB / 444.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.401, allocations: 0.5873 MB / 444.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.4014, allocations: 0.7566 MB / 445.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.4015, allocations: 31.42 kB / 445.5 MB, free: 7.715 MB / 350.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4015, allocations: 0 / 445.5 MB, free: 7.715 MB / 350.1 MB Notification: Performance of Templates: time 0.007087/0.4086, allocations: 3.983 MB / 449.5 MB, free: 3.734 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]