Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 99.59 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 218.9 kB / 24.5 MB, free: 3.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.507/1.507, allocations: 230.6 MB / 258.3 MB, free: 7.793 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|signalExtrema1.y_min|signalExtrema1.y_max|signalExtrema1.t_min|signalExtrema1.t_max|signalExtrema2.y_min|signalExtrema2.y_max|signalExtrema2.t_min|signalExtrema2.t_max|signalExtrema3.y_min|signalExtrema3.y_max|signalExtrema3.t_min|signalExtrema3.t_max",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema") translateModel(Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|signalExtrema1.y_min|signalExtrema1.y_max|signalExtrema1.t_min|signalExtrema1.t_max|signalExtrema2.y_min|signalExtrema2.y_max|signalExtrema2.t_min|signalExtrema2.t_max|signalExtrema3.y_min|signalExtrema3.y_max|signalExtrema3.t_min|signalExtrema3.t_max",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.65e-05/2.65e-05, allocations: 2.281 kB / 378.9 MB, free: 2.523 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema): time 0.003446/0.003473, allocations: 1.938 MB / 380.9 MB, free: 0.582 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2155/0.219, allocations: 0.7066 MB / 381.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003228/0.2193, allocations: 6.062 kB / 381.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.2194, allocations: 23.53 kB / 381.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000238/0.2196, allocations: 49.11 kB / 381.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006701/0.2203, allocations: 153.1 kB / 381.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005835/0.2209, allocations: 406.4 kB / 382.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.2211, allocations: 47.91 kB / 382.2 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000439/0.2215, allocations: 180.1 kB / 382.4 MB, free: 13 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002759/0.2218, allocations: 170.1 kB / 382.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.882e-05/0.2219, allocations: 30.91 kB / 382.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.222, allocations: 38.58 kB / 382.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004903/0.2225, allocations: 0.5298 MB / 383.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001819/0.2227, allocations: 289.8 kB / 383.5 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.25e-05/0.2227, allocations: 17.66 kB / 383.5 MB, free: 12.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.061e-05/0.2228, allocations: 12.44 kB / 383.5 MB, free: 12.55 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 (43) * Number of variables: 43 (43) Notification: Performance of [SIM] Bindings: time 0.001784/0.2246, allocations: 1.453 MB / 384.9 MB, free: 11.9 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002572/0.2248, allocations: 175.9 kB / 385.1 MB, free: 11.87 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001554/0.2264, allocations: 1.225 MB / 386.3 MB, free: 11.31 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004787/0.2269, allocations: 290.2 kB / 386.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001711/0.2286, allocations: 1.05 MB / 387.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0004182/0.229, allocations: 280.6 kB / 388 MB, free: 10.33 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002122/0.2292, allocations: 186.2 kB / 388.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0007203/0.2299, allocations: 487.2 kB / 388.6 MB, free: 9.922 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.000437/0.2304, allocations: 205.2 kB / 388.8 MB, free: 9.832 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0008098/0.2312, allocations: 464.7 kB / 389.3 MB, free: 9.645 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001581/0.2327, allocations: 0.7298 MB / 390 MB, free: 9.48 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001456/0.2342, allocations: 0.982 MB / 391 MB, free: 9.012 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0009467/0.2352, allocations: 0.5577 MB / 391.5 MB, free: 8.668 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001387/0.2365, allocations: 1.386 MB / 392.9 MB, free: 7.973 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 6.669e-05/0.2366, allocations: 34.88 kB / 393 MB, free: 7.945 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0002111/0.2368, allocations: 217.3 kB / 393.2 MB, free: 7.836 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.002326/0.2391, allocations: 1.649 MB / 394.8 MB, free: 7.453 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.949e-05/0.2392, allocations: 42.16 kB / 394.9 MB, free: 7.422 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.854e-06/0.2392, allocations: 0 / 394.9 MB, free: 7.422 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.252e-05/0.2392, allocations: 9.578 kB / 394.9 MB, free: 7.414 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.246e-05/0.2392, allocations: 23.75 kB / 394.9 MB, free: 7.398 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 2.029e-05/0.2392, allocations: 2.312 kB / 394.9 MB, free: 7.398 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0006233/0.2398, allocations: 453 kB / 395.3 MB, free: 7.223 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0005202/0.2404, allocations: 0.5861 MB / 395.9 MB, free: 6.73 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 2 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 3 (3) {signalExtrema1.x, signalExtrema2.x, signalExtrema3.x} * Number of discrete states: .................... 18 (18) {signalExtrema3.t_max, signalExtrema3.t_min, signalExtrema3.y_max, signalExtrema3.y_min, sawTooth1.T_start, sawTooth1.count, pulse.T_start, pulse.count, signalExtrema2.t_max, signalExtrema2.t_min, signalExtrema2.y_max, signalExtrema2.y_min, signalExtrema1.t_max, signalExtrema1.t_min, signalExtrema1.y_max, signalExtrema1.y_min, sawTooth.T_start, sawTooth.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 16 (16) {$SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 33 (scalar:33, array:0, record:0) * Number of multi strong components: ............ 18 (algorithm:0, when:18, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 69 (scalar:69, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:3, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001431/0.2405, allocations: 58.53 kB / 396 MB, free: 6.691 MB / 302.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: terminal() " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.5433303988538682] Failed to read output from testmodel.py, exit status != 0: ['time', 'signalExtrema1.y_min', 'signalExtrema1.y_max', 'signalExtrema1.t_min', 'signalExtrema1.t_max', 'signalExtrema2.y_min', 'signalExtrema2.y_max', 'signalExtrema2.t_min', 'signalExtrema2.t_max', 'signalExtrema3.y_min', 'signalExtrema3.y_max', 'signalExtrema3.t_min', 'signalExtrema3.t_max'] 0.2494932501576841 0.261586172 0.035311653000000005 Calling exit ...