Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001722/0.001722, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.00213/0.00213, allocations: 209.8 kB / 24.48 MB, free: 4.035 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.463/1.463, allocations: 230.4 MB / 258.1 MB, free: 8.164 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.DemonstrateContinuousSignalExtrema,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema") translateModel(Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema") [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.001946/0.001946, allocations: 71.77 kB / 378.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2609, allocations: 53.32 MB / 432.1 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema): time 0.003325/0.2642, allocations: 2.057 MB / 434.1 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.2655, allocations: 0.7402 MB / 434.9 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.2657, allocations: 7.938 kB / 434.9 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.119e-05/0.2657, allocations: 27.66 kB / 434.9 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.2659, allocations: 47.53 kB / 434.9 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003898/0.2662, allocations: 155.6 kB / 435.1 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004011/0.2666, allocations: 347.2 kB / 435.4 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.2668, allocations: 44.78 kB / 435.5 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002645/0.267, allocations: 147.6 kB / 435.6 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.2673, allocations: 171.3 kB / 435.8 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.044e-05/0.2673, allocations: 28 kB / 435.8 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.395e-05/0.2674, allocations: 32 kB / 435.8 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.2e-05/0.2675, allocations: 75.73 kB / 435.9 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.2676, allocations: 139.3 kB / 436 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003627/0.268, allocations: 300.7 kB / 436.3 MB, free: 3.117 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.268, allocations: 4 kB / 436.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.268, allocations: 3.938 kB / 436.3 MB, free: 3.109 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.268, allocations: 0 / 436.3 MB, free: 3.109 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.001624/0.2696, allocations: 0.7506 MB / 437.1 MB, free: 2.293 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.2696, allocations: 8.031 kB / 437.1 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003431/0.27, allocations: 56.72 kB / 437.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.2703, allocations: 268.9 kB / 437.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/0.2704, allocations: 16.38 kB / 437.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.345e-05/0.2704, allocations: 36.3 kB / 437.5 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008967/0.2713, allocations: 359.1 kB / 437.8 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2714, allocations: 0 / 437.8 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.2714, allocations: 8 kB / 437.8 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.2714, allocations: 8 kB / 437.8 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008279/0.2722, allocations: 243.8 kB / 438.1 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.2733, allocations: 0.7071 MB / 438.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009175/0.2743, allocations: 336.9 kB / 439.1 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005654/0.2748, allocations: 181.7 kB / 439.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.2749, allocations: 4 kB / 439.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008808/0.2757, allocations: 394.8 kB / 439.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 2.364e-06/0.2757, allocations: 0 / 439.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.002086/0.2778, allocations: 0.7543 MB / 440.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.2779, allocations: 71.3 kB / 440.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.2781, allocations: 195.8 kB / 440.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.46e-05/0.2782, allocations: 41.7 kB / 440.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.2783, allocations: 137 kB / 440.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.2784, allocations: 111.1 kB / 441 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.2785, allocations: 102.2 kB / 441.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.2787, allocations: 338.8 kB / 441.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004554/0.2792, allocations: 161 kB / 441.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005032/0.2797, allocations: 241.2 kB / 441.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009123/0.2806, allocations: 444.7 kB / 442.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.2806, allocations: 0 / 442.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001194/0.2818, allocations: 0.5684 MB / 442.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.843e-05/0.2819, allocations: 93.09 kB / 442.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2819, allocations: 4.219 kB / 442.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.2819, allocations: 4 kB / 442.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/0.2823, allocations: 71.89 kB / 443 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.948e-05/0.2823, allocations: 7.938 kB / 443 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003563/0.2826, allocations: 75.67 kB / 443.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.2827, allocations: 16 kB / 443.1 MB, free: 12.01 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.0002134/0.2829, allocations: 169.7 kB / 443.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-05/0.2829, allocations: 31.8 kB / 443.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.391e-05/0.283, allocations: 38.98 kB / 443.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.283, allocations: 0 / 443.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.283, allocations: 0 / 443.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.939e-05/0.2831, allocations: 108.8 kB / 443.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.929e-05/0.2832, allocations: 19.98 kB / 443.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003748/0.2836, allocations: 63.86 kB / 443.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.2837, allocations: 47.94 kB / 443.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001751/0.2855, allocations: 0.6732 MB / 444.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002068/0.2875, allocations: 0.9783 MB / 445.2 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005821/0.2881, allocations: 203.8 kB / 445.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001301/0.2882, allocations: 141.5 kB / 445.5 MB, free: 9.496 MB / 350.1 MB Notification: Performance of Backend: time 5.81e-07/0.2882, allocations: 4 kB / 445.5 MB, free: 9.492 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001153/0.2894, allocations: 480.3 kB / 446 MB, free: 8.98 MB / 350.1 MB Notification: Performance of SimCode: time 0.00106/0.2905, allocations: 0.8981 MB / 446.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of Templates: time 0.01048/0.3009, allocations: 5.338 MB / 452.2 MB, free: 2.715 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.4729701997712255] Failed to read output from testmodel.py, exit status != 0: 0.3105058870278299 0.333976398 0.061563194 Calling exit ...