Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema.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.00128/0.00128, 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.001394/0.001394, allocations: 213.9 kB / 23.54 MB, free: 5.387 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.5/1.5, allocations: 230.2 MB / 256.8 MB, free: 8.641 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.DemonstrateSignalExtrema,tolerance=1e-06,outputFormat="empty",numberOfIntervals=150000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema") translateModel(Modelica.Blocks.Examples.DemonstrateSignalExtrema,tolerance=1e-06,outputFormat="empty",numberOfIntervals=150000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 63.91 kB / 376.9 MB, free: 3.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3712, allocations: 53.32 MB / 430.2 MB, free: 7.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemonstrateSignalExtrema): time 0.003399/0.3746, allocations: 1.731 MB / 431.9 MB, free: 5.895 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.3759, allocations: 0.67 MB / 432.6 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.985e-05/0.3759, allocations: 4 kB / 432.6 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.3761, allocations: 19.8 kB / 432.6 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.909e-05/0.3761, allocations: 19.8 kB / 432.6 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003411/0.3765, allocations: 87.75 kB / 432.7 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.3767, allocations: 155.5 kB / 432.9 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.3768, allocations: 25.42 kB / 432.9 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.377, allocations: 59.83 kB / 433 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.3771, allocations: 71.67 kB / 433 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.3772, allocations: 12 kB / 433 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.296e-05/0.3772, allocations: 20 kB / 433.1 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.847e-05/0.3773, allocations: 31.91 kB / 433.1 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.332e-05/0.3774, allocations: 67.7 kB / 433.2 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.3776, allocations: 140.7 kB / 433.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3776, allocations: 3.938 kB / 433.3 MB, free: 4.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.3776, allocations: 0 / 433.3 MB, free: 4.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.3776, allocations: 0 / 433.3 MB, free: 4.52 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0008325/0.3785, allocations: 490.3 kB / 433.8 MB, free: 3.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.3785, allocations: 19.95 kB / 433.8 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002617/0.3788, allocations: 28.83 kB / 433.8 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004247/0.3792, allocations: 220.1 kB / 434 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/0.3792, allocations: 8.375 kB / 434 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-05/0.3793, allocations: 12.12 kB / 434.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004745/0.3797, allocations: 165.5 kB / 434.2 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3797, allocations: 0 / 434.2 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.3798, allocations: 3.984 kB / 434.2 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.3798, allocations: 4 kB / 434.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003412/0.3801, allocations: 99.91 kB / 434.3 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007512/0.3809, allocations: 432.3 kB / 434.7 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005693/0.3814, allocations: 190.4 kB / 434.9 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/0.3817, allocations: 84.78 kB / 435 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.3818, allocations: 4 kB / 435 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004683/0.3822, allocations: 171.3 kB / 435.2 MB, free: 2.453 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.3822, allocations: 0 / 435.2 MB, free: 2.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.001044/0.3833, allocations: 355.9 kB / 435.5 MB, free: 2.102 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.3833, allocations: 55.41 kB / 435.6 MB, free: 2.035 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.3835, allocations: 149.7 kB / 435.7 MB, free: 1.879 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.3835, allocations: 33.7 kB / 435.8 MB, free: 1.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.439e-05/0.3836, allocations: 104.5 kB / 435.9 MB, free: 1.734 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.036e-05/0.3837, allocations: 39.69 kB / 435.9 MB, free: 1.695 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.431e-05/0.3838, allocations: 49.69 kB / 436 MB, free: 1.641 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002476/0.384, allocations: 326.8 kB / 436.3 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.3841, allocations: 47.97 kB / 436.3 MB, free: 1.266 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.3843, allocations: 116.4 kB / 436.4 MB, free: 1.121 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.3846, allocations: 176.4 kB / 436.6 MB, free: 0.918 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3846, allocations: 0 / 436.6 MB, free: 0.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003962/0.385, allocations: 205.3 kB / 436.8 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.3851, allocations: 12.28 kB / 436.8 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.3851, allocations: 4 kB / 436.8 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.3851, allocations: 7.938 kB / 436.8 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.3853, allocations: 31.92 kB / 436.9 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.3853, allocations: 7.984 kB / 436.9 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.451e-05/0.3854, allocations: 19.89 kB / 436.9 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.3854, allocations: 8 kB / 436.9 MB, free: 0.6211 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 18 (signalExtrema2.t_max,$PRE.signalExtrema2.t_max,signalExtrema2.t_min,$PRE.signalExtrema2.t_min,signalExtrema1.t_max,$PRE.signalExtrema1.t_max,signalExtrema1.t_min,$PRE.signalExtrema1.t_min,$whenCondition2,$whenCondition1,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000156/0.3855, allocations: 135.5 kB / 437 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.3856, allocations: 15.89 kB / 437 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007105/0.3863, allocations: 278.2 kB / 437.3 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.3863, allocations: 7.875 kB / 437.3 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.3863, allocations: 0 / 437.3 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3863, allocations: 8 kB / 437.3 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.3874, allocations: 0.5634 MB / 437.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.3874, allocations: 7.938 kB / 437.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.3875, allocations: 23.92 kB / 437.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3875, allocations: 0 / 437.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.3875, allocations: 7.984 kB / 437.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3875, allocations: 0 / 437.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3875, allocations: 0 / 437.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.3885, allocations: 467.2 kB / 438.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.993e-05/0.3886, allocations: 96.97 kB / 438.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/0.3886, allocations: 8 kB / 438.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.3888, allocations: 32.03 kB / 438.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.777e-05/0.3889, allocations: 7.984 kB / 438.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.3889, allocations: 11.98 kB / 438.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.389, allocations: 110.8 kB / 438.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.389, allocations: 0 / 438.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002948/0.3893, allocations: 31.94 kB / 438.7 MB, free: 14.73 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (sine.phi) * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,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: 8 (signalExtrema2.y_min,signalExtrema2.y_max,signalExtrema2.t_max,signalExtrema2.t_min,signalExtrema1.y_min,signalExtrema1.y_max,signalExtrema1.t_max,signalExtrema1.t_min) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001738/0.3895, allocations: 107.2 kB / 438.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004789/0.39, allocations: 163.7 kB / 438.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.39, allocations: 0 / 438.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002568/0.3902, allocations: 88.42 kB / 439 MB, free: 14.37 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.3905, allocations: 15.94 kB / 439.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009298/0.3914, allocations: 361 kB / 439.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.3918, allocations: 0.7045 MB / 440.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.939e-05/0.3919, allocations: 19.42 kB / 440.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3919, allocations: 0 / 440.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of Templates: time 0.003931/0.3958, allocations: 1.656 MB / 441.8 MB, free: 11.57 MB / 350.1 MB [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema.sim & ./Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema.pipe 2>&1) [Timeout 480]