Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.DemonstrateSignalExtrema.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.001562/0.001562, allocations: 112.6 kB / 21.18 MB, free: 0.7422 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.001728/0.001728, allocations: 212.2 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.51/1.51, allocations: 230.4 MB / 258.1 MB, free: 8.141 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_Modelica.Blocks.Examples.DemonstrateSignalExtrema") translateModel(Modelica.Blocks.Examples.DemonstrateSignalExtrema,tolerance=1e-06,outputFormat="empty",numberOfIntervals=150000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.DemonstrateSignalExtrema") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 67.89 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2684, allocations: 53.31 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemonstrateSignalExtrema): time 0.003056/0.2715, allocations: 1.742 MB / 433.8 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.2727, allocations: 0.6662 MB / 434.5 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.433e-05/0.2728, allocations: 8 kB / 434.5 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.2729, allocations: 15.8 kB / 434.5 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.911e-05/0.2729, allocations: 19.8 kB / 434.5 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.2733, allocations: 87.7 kB / 434.6 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002274/0.2735, allocations: 155.6 kB / 434.7 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.2736, allocations: 21.44 kB / 434.8 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.2738, allocations: 67.7 kB / 434.8 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.2739, allocations: 67.73 kB / 434.9 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.2739, allocations: 16 kB / 434.9 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.208e-05/0.274, allocations: 20 kB / 434.9 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.103e-05/0.274, allocations: 35.89 kB / 435 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.442e-05/0.2741, allocations: 63.72 kB / 435 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.2743, allocations: 137 kB / 435.2 MB, free: 4.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2743, allocations: 0 / 435.2 MB, free: 4.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2743, allocations: 0 / 435.2 MB, free: 4.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.2743, allocations: 0 / 435.2 MB, free: 4.246 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.0007405/0.275, allocations: 490.3 kB / 435.6 MB, free: 3.707 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.2751, allocations: 16.03 kB / 435.7 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002298/0.2753, allocations: 32.81 kB / 435.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.2756, allocations: 216.7 kB / 435.9 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.2756, allocations: 12.36 kB / 435.9 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.2756, allocations: 12.12 kB / 435.9 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004585/0.2761, allocations: 165.5 kB / 436.1 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2761, allocations: 7.922 kB / 436.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.2761, allocations: 0 / 436.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.2761, allocations: 4 kB / 436.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003609/0.2765, allocations: 102.5 kB / 436.2 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007148/0.2772, allocations: 428.4 kB / 436.6 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005952/0.2778, allocations: 190.4 kB / 436.8 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002974/0.2781, allocations: 88.78 kB / 436.9 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.2781, allocations: 7.984 kB / 436.9 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004336/0.2786, allocations: 167.3 kB / 437.1 MB, free: 2.172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.803e-06/0.2786, allocations: 3.938 kB / 437.1 MB, free: 2.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.001062/0.2796, allocations: 341.3 kB / 437.4 MB, free: 1.828 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.2797, allocations: 67.33 kB / 437.5 MB, free: 1.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.2798, allocations: 145.7 kB / 437.6 MB, free: 1.598 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.2798, allocations: 37.7 kB / 437.6 MB, free: 1.555 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/0.2799, allocations: 104.5 kB / 437.7 MB, free: 1.449 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.639e-05/0.2799, allocations: 43.62 kB / 437.8 MB, free: 1.406 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.079e-05/0.28, allocations: 45.7 kB / 437.8 MB, free: 1.355 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.2802, allocations: 326.8 kB / 438.1 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.2803, allocations: 43.98 kB / 438.2 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.2805, allocations: 112.5 kB / 438.3 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003105/0.2808, allocations: 172.4 kB / 438.5 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2808, allocations: 0 / 438.5 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003962/0.2812, allocations: 209.2 kB / 438.7 MB, free: 444 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.2812, allocations: 8 kB / 438.7 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2812, allocations: 4 kB / 438.7 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.2812, allocations: 3.984 kB / 438.7 MB, free: 428 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.2814, allocations: 39.86 kB / 438.7 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.2814, allocations: 4 kB / 438.7 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.2815, allocations: 24.16 kB / 438.8 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.2815, allocations: 8 kB / 438.8 MB, free: 352 kB / 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.0001168/0.2816, allocations: 136.2 kB / 438.9 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.2817, allocations: 11.91 kB / 438.9 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000748/0.2824, allocations: 277.1 kB / 439.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.2824, allocations: 7.922 kB / 439.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2824, allocations: 0 / 439.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.842e-05/0.2825, allocations: 89.02 kB / 439.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.103e-05/0.2825, allocations: 8 kB / 439.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.2827, allocations: 35.89 kB / 439.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.2827, allocations: 7.984 kB / 439.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007364/0.2835, allocations: 336.7 kB / 439.7 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009761/0.2844, allocations: 0.5024 MB / 440.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002686/0.2847, allocations: 90.62 kB / 440.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.191e-05/0.2848, allocations: 105.1 kB / 440.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of Backend: time 4.21e-07/0.2848, allocations: 0 / 440.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005439/0.2853, allocations: 170.2 kB / 440.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of SimCode: time 0.0007314/0.2861, allocations: 0.7237 MB / 441.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of Templates: time 0.004564/0.2906, allocations: 1.546 MB / 442.8 MB, free: 12.23 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.DemonstrateSignalExtrema.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.DemonstrateSignalExtrema.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.DemonstrateSignalExtrema.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.DemonstrateSignalExtrema.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.DemonstrateSignalExtrema.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.DemonstrateSignalExtrema -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.DemonstrateSignalExtrema.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.070222823880613] Failed to read output from testmodel.py, exit status != 0: 0.2992151449434459 0.31272156500000003 0.035405837 Calling exit ...