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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=20000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema") translateModel(Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001148/0.001148, allocations: 114.1 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00126/0.00126, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2759, allocations: 50.55 MB / 409.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema): time 0.003629/0.2796, allocations: 2.03 MB / 412 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.2811, allocations: 0.7363 MB / 412.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002127/0.2814, allocations: 7.938 kB / 412.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.163e-05/0.2815, allocations: 23.67 kB / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.2817, allocations: 43.53 kB / 412.8 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005655/0.2823, allocations: 151.7 kB / 412.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004871/0.2828, allocations: 355.2 kB / 413.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.283, allocations: 60.72 kB / 413.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003931/0.2834, allocations: 163.5 kB / 413.5 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.2837, allocations: 159.4 kB / 413.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.2e-05/0.2837, allocations: 28 kB / 413.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.811e-05/0.2838, allocations: 36 kB / 413.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.497e-05/0.2839, allocations: 79.72 kB / 413.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.2841, allocations: 135.4 kB / 413.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003735/0.2845, allocations: 302.7 kB / 414.2 MB, free: 13.31 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2845, allocations: 0 / 414.2 MB, free: 13.31 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2845, allocations: 0 / 414.2 MB, free: 13.31 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.2845, allocations: 0 / 414.2 MB, free: 13.31 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.001681/0.2862, allocations: 0.7443 MB / 415 MB, free: 12.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.2862, allocations: 8.031 kB / 415 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003861/0.2866, allocations: 56.61 kB / 415 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.287, allocations: 268.6 kB / 415.3 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.889e-05/0.2871, allocations: 28.36 kB / 415.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.86e-05/0.2872, allocations: 24.38 kB / 415.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008585/0.288, allocations: 351.1 kB / 415.7 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.2881, allocations: 3.938 kB / 415.7 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.732e-05/0.2881, allocations: 11.98 kB / 415.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.2881, allocations: 4 kB / 415.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008332/0.289, allocations: 247.8 kB / 415.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.2902, allocations: 0.7032 MB / 416.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009923/0.2912, allocations: 372.8 kB / 417 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005861/0.2918, allocations: 197.6 kB / 417.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.2919, allocations: 4 kB / 417.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009808/0.2929, allocations: 402.8 kB / 417.6 MB, free: 9.711 MB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 3.426e-06/0.2929, allocations: 0 / 417.6 MB, free: 9.711 MB / 334.1 MB Notification: Performance of matching and sorting (n=41): time 0.002047/0.2949, allocations: 0.7464 MB / 418.3 MB, free: 8.957 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.295, allocations: 67.34 kB / 418.4 MB, free: 8.879 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.2952, allocations: 195.7 kB / 418.6 MB, free: 8.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.829e-05/0.2952, allocations: 45.69 kB / 418.6 MB, free: 8.629 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.296e-05/0.2953, allocations: 136.9 kB / 418.8 MB, free: 8.492 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.2955, allocations: 110.5 kB / 418.9 MB, free: 8.383 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.2956, allocations: 98.23 kB / 419 MB, free: 8.281 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.2957, allocations: 338.8 kB / 419.3 MB, free: 7.941 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004556/0.2962, allocations: 161 kB / 419.5 MB, free: 7.781 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005149/0.2967, allocations: 241.2 kB / 419.7 MB, free: 7.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000908/0.2976, allocations: 447.6 kB / 420.1 MB, free: 7.039 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.2977, allocations: 0 / 420.1 MB, free: 7.039 MB / 334.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001214/0.2989, allocations: 0.5567 MB / 420.7 MB, free: 6.457 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.988e-05/0.299, allocations: 97.09 kB / 420.8 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.299, allocations: 0 / 420.8 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.747e-05/0.299, allocations: 4 kB / 420.8 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003957/0.2994, allocations: 79.81 kB / 420.9 MB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.2994, allocations: 4 kB / 420.9 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003793/0.2998, allocations: 67.64 kB / 420.9 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/0.2999, allocations: 20 kB / 421 MB, free: 6.172 MB / 334.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.0002086/0.3001, allocations: 173.6 kB / 421.1 MB, free: 5.992 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.175e-05/0.3002, allocations: 27.72 kB / 421.2 MB, free: 5.965 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.3003, allocations: 34.98 kB / 421.2 MB, free: 5.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.3003, allocations: 3.984 kB / 421.2 MB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3003, allocations: 0 / 421.2 MB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.694e-05/0.3004, allocations: 104.7 kB / 421.3 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.837e-05/0.3005, allocations: 19.94 kB / 421.3 MB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003807/0.3009, allocations: 67.84 kB / 421.4 MB, free: 5.719 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.301, allocations: 47.94 kB / 421.4 MB, free: 5.672 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001767/0.3028, allocations: 0.6771 MB / 422.1 MB, free: 4.988 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002087/0.3049, allocations: 0.9742 MB / 423.1 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006137/0.3055, allocations: 239.9 kB / 423.3 MB, free: 3.762 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.3056, allocations: 140.2 kB / 423.5 MB, free: 3.625 MB / 334.1 MB Notification: Performance of Backend: time 7.42e-07/0.3056, allocations: 0 / 423.5 MB, free: 3.625 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001259/0.3069, allocations: 0.5095 MB / 424 MB, free: 3.078 MB / 334.1 MB Notification: Performance of SimCode: time 0.001077/0.308, allocations: 0.8752 MB / 424.8 MB, free: 2.152 MB / 334.1 MB Notification: Performance of Templates: time 0.01032/0.3183, allocations: 5.154 MB / 430 MB, free: 13.01 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.makefile (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)