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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001341/0.001341, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.001459/0.001459, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.62/1.62, allocations: 230.2 MB / 255.1 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] 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.001869/0.001869, allocations: 71.89 kB / 374.5 MB, free: 9.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1042, allocations: 53.32 MB / 427.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema): time 0.003355/0.1075, allocations: 2.04 MB / 429.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.1089, allocations: 0.7441 MB / 430.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.556e-05/0.109, allocations: 3.938 kB / 430.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.375e-05/0.1091, allocations: 27.66 kB / 430.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.1092, allocations: 51.47 kB / 430.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.1096, allocations: 155.7 kB / 430.9 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004029/0.11, allocations: 347.1 kB / 431.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.1102, allocations: 48.78 kB / 431.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002739/0.1104, allocations: 147.6 kB / 431.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.1107, allocations: 171.3 kB / 431.5 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.695e-05/0.1107, allocations: 32 kB / 431.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.098e-05/0.1108, allocations: 32 kB / 431.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.836e-05/0.1109, allocations: 71.8 kB / 431.7 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.111, allocations: 143.2 kB / 431.8 MB, free: 500 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003597/0.1114, allocations: 286.9 kB / 432.1 MB, free: 212 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1114, allocations: 0 / 432.1 MB, free: 212 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1114, allocations: 4 kB / 432.1 MB, free: 208 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1114, allocations: 4 kB / 432.1 MB, free: 204 kB / 350.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.1815/0.2929, allocations: 0.7474 MB / 432.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.293, allocations: 9.062 kB / 432.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003509/0.2933, allocations: 59.56 kB / 432.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.2937, allocations: 264.4 kB / 433.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.514e-05/0.2937, allocations: 19.62 kB / 433.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.377e-05/0.2938, allocations: 31.16 kB / 433.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007996/0.2946, allocations: 350.6 kB / 433.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.2946, allocations: 5 kB / 433.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/0.2946, allocations: 11.22 kB / 433.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.2946, allocations: 4.938 kB / 433.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007908/0.2954, allocations: 255 kB / 433.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008802/0.2963, allocations: 0.7044 MB / 434.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007929/0.2971, allocations: 333.9 kB / 434.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005032/0.2976, allocations: 181.8 kB / 435.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.2976, allocations: 7.562 kB / 435.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007821/0.2984, allocations: 396.8 kB / 435.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.864e-06/0.2984, allocations: 0 / 435.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.001909/0.3003, allocations: 0.7537 MB / 436.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.3003, allocations: 68.52 kB / 436.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.3005, allocations: 195.4 kB / 436.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.825e-05/0.3005, allocations: 46.08 kB / 436.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.565e-05/0.3006, allocations: 130.3 kB / 436.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.692e-05/0.3007, allocations: 120.4 kB / 436.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.3008, allocations: 94.27 kB / 436.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.034e-05/0.3009, allocations: 343.8 kB / 437.2 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004218/0.3013, allocations: 159.2 kB / 437.3 MB, free: 9.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000449/0.3017, allocations: 238.3 kB / 437.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007847/0.3025, allocations: 433.1 kB / 438 MB, free: 9.266 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3025, allocations: 0 / 438 MB, free: 9.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001075/0.3036, allocations: 0.578 MB / 438.6 MB, free: 8.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.449e-05/0.3037, allocations: 93.05 kB / 438.7 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3037, allocations: 3.531 kB / 438.7 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.3037, allocations: 5.484 kB / 438.7 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003644/0.304, allocations: 82.92 kB / 438.7 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.3041, allocations: 7.344 kB / 438.8 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003324/0.3044, allocations: 70.5 kB / 438.8 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.3044, allocations: 19.09 kB / 438.8 MB, free: 8.859 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.0001445/0.3046, allocations: 171.7 kB / 439 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/0.3046, allocations: 25.92 kB / 439 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.249e-05/0.3047, allocations: 34.72 kB / 439.1 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.3047, allocations: 4.875 kB / 439.1 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.3047, allocations: 0 / 439.1 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.3047, allocations: 2.344 kB / 439.1 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/0.305, allocations: 351.6 kB / 439.4 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.305, allocations: 1.406 kB / 439.4 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000281/0.3053, allocations: 43.59 kB / 439.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3053, allocations: 6.344 kB / 439.5 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.913e-05/0.3054, allocations: 15.48 kB / 439.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3054, allocations: 2.281 kB / 439.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3054, allocations: 2.062 kB / 439.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/0.3073, allocations: 0.8521 MB / 440.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-05/0.3073, allocations: 105.2 kB / 440.4 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.681e-05/0.3074, allocations: 22.02 kB / 440.5 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003696/0.3078, allocations: 57.7 kB / 440.5 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.3079, allocations: 48.69 kB / 440.6 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.943e-05/0.308, allocations: 28.73 kB / 440.6 MB, free: 7.969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.155e-05/0.3081, allocations: 136.2 kB / 440.7 MB, free: 7.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3081, allocations: 0 / 440.7 MB, free: 7.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003248/0.3084, allocations: 89.3 kB / 440.8 MB, free: 7.859 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.0001382/0.3085, allocations: 127.3 kB / 440.9 MB, free: 7.762 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001145/0.3097, allocations: 0.5816 MB / 441.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3097, allocations: 0 / 441.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006494/0.3103, allocations: 231.5 kB / 441.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.3106, allocations: 43.44 kB / 441.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.3118, allocations: 0.5837 MB / 442.4 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.312, allocations: 0.7554 MB / 443.1 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.3121, allocations: 34.25 kB / 443.2 MB, free: 6.352 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3121, allocations: 0 / 443.2 MB, free: 6.352 MB / 350.1 MB Notification: Performance of Templates: time 0.006801/0.3189, allocations: 3.993 MB / 447.2 MB, free: 6.016 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] [Calling sys.exit(0), Time elapsed: 7.402693613898009] Failed to read output from testmodel.py, exit status != 0: 0.32632845896296203 0.33621725999999996 0.22200329500000002 Calling exit ...