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.00182/0.00182, allocations: 114.6 kB / 18.5 MB, free: 4.562 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.001421/0.001421, allocations: 198.6 kB / 21.45 MB, free: 1.613 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.554/1.554, allocations: 230.2 MB / 254.5 MB, free: 15.39 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.00186/0.00186, allocations: 67.88 kB / 373.8 MB, free: 9.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1286, allocations: 53.32 MB / 427.1 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema): time 0.003636/0.1322, allocations: 2.042 MB / 429.2 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.1337, allocations: 0.7558 MB / 429.9 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.1338, allocations: 7.938 kB / 430 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.832e-05/0.1339, allocations: 19.73 kB / 430 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001637/0.1341, allocations: 47.53 kB / 430 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004459/0.1345, allocations: 151.7 kB / 430.2 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004268/0.1349, allocations: 347.1 kB / 430.5 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.1351, allocations: 44.78 kB / 430.6 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003014/0.1354, allocations: 159.5 kB / 430.7 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.1356, allocations: 167.3 kB / 430.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.948e-05/0.1356, allocations: 32 kB / 430.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.038e-05/0.1357, allocations: 36 kB / 430.9 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.386e-05/0.1358, allocations: 71.8 kB / 431 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.1359, allocations: 143.3 kB / 431.1 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003903/0.1363, allocations: 302.8 kB / 431.4 MB, free: 200 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1363, allocations: 0 / 431.4 MB, free: 200 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1363, allocations: 0 / 431.4 MB, free: 200 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.936e-06/0.1363, allocations: 3.938 kB / 431.4 MB, free: 196 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.001703/0.138, allocations: 0.735 MB / 432.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.1381, allocations: 12.03 kB / 432.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003691/0.1385, allocations: 56.72 kB / 432.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004596/0.1389, allocations: 272.9 kB / 432.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.555e-05/0.139, allocations: 20.38 kB / 432.5 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.035e-05/0.139, allocations: 24.36 kB / 432.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009203/0.14, allocations: 355.1 kB / 432.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.14, allocations: 4 kB / 432.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.433e-05/0.14, allocations: 15.92 kB / 432.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.14, allocations: 4 kB / 432.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008372/0.1409, allocations: 239.8 kB / 433.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.1421, allocations: 0.7072 MB / 433.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009281/0.143, allocations: 343 kB / 434.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005486/0.1435, allocations: 189.6 kB / 434.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.701e-05/0.1436, allocations: 4 kB / 434.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008983/0.1445, allocations: 399 kB / 434.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 2.535e-06/0.1445, allocations: 0 / 434.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=41): time 0.002108/0.1466, allocations: 0.7465 MB / 435.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.908e-05/0.1467, allocations: 67.34 kB / 435.6 MB, free: 11.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.1469, allocations: 195.8 kB / 435.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.928e-05/0.147, allocations: 41.7 kB / 435.8 MB, free: 11.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.1471, allocations: 145 kB / 436 MB, free: 11.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.1472, allocations: 107.2 kB / 436.1 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.1474, allocations: 94.25 kB / 436.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.1476, allocations: 338.8 kB / 436.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004477/0.148, allocations: 157 kB / 436.6 MB, free: 10.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005052/0.1485, allocations: 241.2 kB / 436.9 MB, free: 10.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009146/0.1494, allocations: 444.6 kB / 437.3 MB, free: 9.977 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.1494, allocations: 0 / 437.3 MB, free: 9.977 MB / 366.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001257/0.1507, allocations: 0.5685 MB / 437.9 MB, free: 9.383 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.94e-05/0.1508, allocations: 93.09 kB / 438 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.1508, allocations: 7.938 kB / 438 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.91e-05/0.1508, allocations: 4 kB / 438 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/0.1512, allocations: 83.75 kB / 438.1 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.1512, allocations: 4 kB / 438.1 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003686/0.1516, allocations: 67.75 kB / 438.1 MB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.169e-05/0.1516, allocations: 20 kB / 438.2 MB, free: 9.09 MB / 366.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.0002685/0.1519, allocations: 173.6 kB / 438.3 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.275e-05/0.152, allocations: 27.86 kB / 438.4 MB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.1521, allocations: 34.98 kB / 438.4 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/0.1521, allocations: 4 kB / 438.4 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.1521, allocations: 0 / 438.4 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.1521, allocations: 3.984 kB / 438.4 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004561/0.1525, allocations: 349.2 kB / 438.7 MB, free: 8.449 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1525, allocations: 4 kB / 438.7 MB, free: 8.445 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003008/0.1528, allocations: 51.89 kB / 438.8 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.1529, allocations: 4 kB / 438.8 MB, free: 8.391 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.955e-05/0.1529, allocations: 15.97 kB / 438.8 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1529, allocations: 0 / 438.8 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.1529, allocations: 4 kB / 438.8 MB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/0.155, allocations: 0.8526 MB / 439.7 MB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.266e-05/0.1551, allocations: 104.9 kB / 439.8 MB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.801e-05/0.1552, allocations: 15.98 kB / 439.8 MB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/0.1556, allocations: 59.92 kB / 439.8 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001866/0.1557, allocations: 51.94 kB / 439.9 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.037e-05/0.1558, allocations: 27.97 kB / 439.9 MB, free: 7.227 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.1559, allocations: 133.5 kB / 440.1 MB, free: 7.098 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1559, allocations: 0 / 440.1 MB, free: 7.098 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003436/0.1563, allocations: 75.98 kB / 440.1 MB, free: 7.023 MB / 366.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.0002697/0.1565, allocations: 129.4 kB / 440.3 MB, free: 6.891 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001389/0.1579, allocations: 0.5864 MB / 440.8 MB, free: 6.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1579, allocations: 0 / 440.8 MB, free: 6.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000629/0.1586, allocations: 235.9 kB / 441.1 MB, free: 6.039 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.1589, allocations: 47.92 kB / 441.1 MB, free: 5.992 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.1603, allocations: 0.558 MB / 441.7 MB, free: 5.402 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/0.1607, allocations: 0.7566 MB / 442.4 MB, free: 4.617 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001461/0.1609, allocations: 30.95 kB / 442.5 MB, free: 4.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.161, allocations: 31.42 kB / 442.5 MB, free: 4.559 MB / 366.1 MB Notification: Performance of SimCode: time 8.31e-07/0.161, allocations: 0 / 442.5 MB, free: 4.559 MB / 366.1 MB Notification: Performance of Templates: time 0.009246/0.1702, allocations: 4.328 MB / 446.8 MB, free: 236 kB / 366.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: 5.0612082332372665]