Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001474/0.001474, allocations: 120 kB / 18.5 MB, free: 4.539 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.001558/0.001558, allocations: 209.7 kB / 21.46 MB, free: 1.59 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.687/1.687, allocations: 230.2 MB / 254.5 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.DemonstrateSignalExtrema,tolerance=1e-06,outputFormat="empty",numberOfIntervals=150000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema") translateModel(Modelica.Blocks.Examples.DemonstrateSignalExtrema,tolerance=1e-06,outputFormat="empty",numberOfIntervals=150000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 63.91 kB / 373.8 MB, free: 9.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1374, allocations: 53.32 MB / 427.1 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemonstrateSignalExtrema): time 0.003876/0.1412, allocations: 1.741 MB / 428.9 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.1426, allocations: 0.67 MB / 429.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.644e-05/0.1426, allocations: 4 kB / 429.6 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.1428, allocations: 15.8 kB / 429.6 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.787e-05/0.1428, allocations: 19.8 kB / 429.6 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.1431, allocations: 83.77 kB / 429.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.1434, allocations: 159.5 kB / 429.8 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.1435, allocations: 25.44 kB / 429.9 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.1437, allocations: 63.77 kB / 429.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.1438, allocations: 67.73 kB / 430 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.1438, allocations: 12 kB / 430 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.715e-05/0.1439, allocations: 24 kB / 430 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.15e-05/0.1439, allocations: 39.83 kB / 430.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.448e-05/0.144, allocations: 63.72 kB / 430.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.1442, allocations: 135.4 kB / 430.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1442, allocations: 0 / 430.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1442, allocations: 0 / 430.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.1442, allocations: 0 / 430.3 MB, free: 1.379 MB / 350.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.0007915/0.145, allocations: 490.3 kB / 430.7 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.1451, allocations: 12.03 kB / 430.7 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002573/0.1453, allocations: 36.81 kB / 430.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.1458, allocations: 224.6 kB / 431 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.1458, allocations: 4.375 kB / 431 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/0.1458, allocations: 16.12 kB / 431 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004712/0.1463, allocations: 165.5 kB / 431.2 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1463, allocations: 0 / 431.2 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.1463, allocations: 4 kB / 431.2 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.1464, allocations: 4 kB / 431.2 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000356/0.1467, allocations: 103.8 kB / 431.3 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007887/0.1475, allocations: 420.5 kB / 431.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006142/0.1481, allocations: 186.4 kB / 431.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002929/0.1484, allocations: 84.78 kB / 432 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.1484, allocations: 15.92 kB / 432 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004498/0.1489, allocations: 169 kB / 432.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.1489, allocations: 0 / 432.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.001053/0.1499, allocations: 341.3 kB / 432.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.15, allocations: 63.41 kB / 432.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.1501, allocations: 149.7 kB / 432.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.1502, allocations: 37.64 kB / 432.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.995e-05/0.1503, allocations: 100.5 kB / 432.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.217e-05/0.1503, allocations: 39.69 kB / 432.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.705e-05/0.1504, allocations: 45.69 kB / 432.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.1506, allocations: 330.8 kB / 433.2 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.1507, allocations: 47.97 kB / 433.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.1508, allocations: 108.6 kB / 433.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003051/0.1511, allocations: 180.3 kB / 433.6 MB, free: 13.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1512, allocations: 4 kB / 433.6 MB, free: 13.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003831/0.1515, allocations: 205.3 kB / 433.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1516, allocations: 8 kB / 433.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1516, allocations: 4 kB / 433.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.1516, allocations: 3.938 kB / 433.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.1518, allocations: 40.2 kB / 433.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.1518, allocations: 7.938 kB / 433.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.1519, allocations: 23.88 kB / 433.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.152, allocations: 8 kB / 433.9 MB, free: 13.48 MB / 366.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.0001547/0.1521, allocations: 131.5 kB / 434 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.1521, allocations: 15.89 kB / 434 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007575/0.1529, allocations: 275.8 kB / 434.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.1529, allocations: 3.938 kB / 434.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.1529, allocations: 0 / 434.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1529, allocations: 4 kB / 434.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.154, allocations: 0.5685 MB / 434.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.154, allocations: 3.938 kB / 434.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.1541, allocations: 15.98 kB / 434.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1541, allocations: 0 / 434.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.1541, allocations: 7.984 kB / 434.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1541, allocations: 4 kB / 434.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1541, allocations: 0 / 434.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.1552, allocations: 474.9 kB / 435.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.645e-05/0.1553, allocations: 100.9 kB / 435.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/0.1553, allocations: 12 kB / 435.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.1555, allocations: 27.97 kB / 435.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.1556, allocations: 8.047 kB / 435.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.1556, allocations: 11.98 kB / 435.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.108e-05/0.1557, allocations: 106.6 kB / 435.6 MB, free: 11.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1557, allocations: 0 / 435.6 MB, free: 11.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002983/0.156, allocations: 35.98 kB / 435.6 MB, free: 11.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (sine.phi) * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,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: 8 (signalExtrema2.y_min,signalExtrema2.y_max,signalExtrema2.t_max,signalExtrema2.t_min,signalExtrema1.y_min,signalExtrema1.y_max,signalExtrema1.t_max,signalExtrema1.t_min) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001577/0.1561, allocations: 107.2 kB / 435.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004829/0.1566, allocations: 155.8 kB / 435.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1566, allocations: 0 / 435.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002637/0.1569, allocations: 89.84 kB / 436 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.1572, allocations: 15.92 kB / 436 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008834/0.1581, allocations: 337.2 kB / 436.3 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.1584, allocations: 0.7084 MB / 437 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.295e-05/0.1584, allocations: 21 kB / 437.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.075e-05/0.1585, allocations: 23.38 kB / 437.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1585, allocations: 0 / 437.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of Templates: time 0.004757/0.1633, allocations: 1.25 MB / 438.3 MB, free: 8.848 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema.sim & ./Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.355778644792736]