Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.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.001586/0.001586, allocations: 107.6 kB / 21.25 MB, free: 0.5625 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.001695/0.001695, allocations: 219.1 kB / 24.55 MB, free: 3.82 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.702/1.702, allocations: 230.5 MB / 258.2 MB, free: 7.742 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.Mechanics.Rotational.Examples.CompareBrakingTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|inertia1.w|inertia2.w|inertia3.w|inertia4.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque") translateModel(Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|inertia1.w|inertia2.w|inertia3.w|inertia4.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.748e-05/2.748e-05, allocations: 2.281 kB / 379 MB, free: 2.348 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque): time 0.003934/0.003962, allocations: 2.146 MB / 381.2 MB, free: 192 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2861/0.2901, allocations: 0.7166 MB / 381.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002472/0.2903, allocations: 7.469 kB / 381.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002152/0.2905, allocations: 35.34 kB / 381.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000481/0.291, allocations: 94.86 kB / 382 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005772/0.2916, allocations: 112.6 kB / 382.1 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007153/0.2923, allocations: 366.1 kB / 382.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000232/0.2925, allocations: 45.7 kB / 382.5 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000389/0.2929, allocations: 145.1 kB / 382.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.2931, allocations: 108.8 kB / 382.8 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.395e-05/0.2932, allocations: 19.72 kB / 382.8 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.573e-05/0.2932, allocations: 20.69 kB / 382.8 MB, free: 12.87 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004404/0.2937, allocations: 480.4 kB / 383.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000198/0.2939, allocations: 303.1 kB / 383.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.848e-05/0.2939, allocations: 25.62 kB / 383.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.578e-05/0.294, allocations: 10.41 kB / 383.6 MB, free: 12.46 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: 52 (52) * Number of variables: 52 (52) Notification: Performance of [SIM] Bindings: time 0.001389/0.2954, allocations: 1.143 MB / 384.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002266/0.2956, allocations: 148.6 kB / 384.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0006121/0.2962, allocations: 0.5159 MB / 385.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002636/0.2965, allocations: 148.4 kB / 385.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.00192/0.2984, allocations: 1.05 MB / 386.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001506/0.2985, allocations: 100.8 kB / 386.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 7.76e-05/0.2986, allocations: 78.39 kB / 386.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003701/0.299, allocations: 213.1 kB / 387 MB, free: 10.48 MB / 302.1 MB Notification: Performance of [SIM] Events: time 9.516e-05/0.2991, allocations: 40.86 kB / 387 MB, free: 10.46 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.000319/0.2994, allocations: 192.9 kB / 387.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001908/0.3013, allocations: 1.589 MB / 388.8 MB, free: 9.273 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003238/0.3016, allocations: 300.5 kB / 389.1 MB, free: 9.109 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0006739/0.3023, allocations: 367.1 kB / 389.5 MB, free: 8.859 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0005449/0.3029, allocations: 0.4916 MB / 390 MB, free: 8.586 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 4.55e-05/0.3029, allocations: 31.16 kB / 390 MB, free: 8.562 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 9.617e-05/0.303, allocations: 88.45 kB / 390.1 MB, free: 8.508 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001344/0.3043, allocations: 0.8037 MB / 390.9 MB, free: 8.348 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 3.224e-05/0.3044, allocations: 31.47 kB / 390.9 MB, free: 8.324 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.172e-06/0.3044, allocations: 1.156 kB / 390.9 MB, free: 8.324 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0002669/0.3046, allocations: 181.5 kB / 391.1 MB, free: 8.227 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.583e-06/0.3046, allocations: 1.531 kB / 391.1 MB, free: 8.227 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 2.553e-05/0.3047, allocations: 38.53 kB / 391.1 MB, free: 8.199 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.624e-05/0.3047, allocations: 6.188 kB / 391.1 MB, free: 8.195 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0007992/0.3055, allocations: 0.5055 MB / 391.6 MB, free: 8.02 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0008084/0.3063, allocations: 1.361 MB / 393 MB, free: 6.633 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 1 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 3 * 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: ............................. 8 (8) {inertia1.w, signTorque.phi, inertia2.phi, inertia2.w, inertia3.w, quadraticSpeedDependentTorque.phi, inertia4.w, inverseSpeedDependentTorque.phi} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {$FUN_2, $SEV_2, $SEV_1, $SEV_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: ........... 34 (scalar:34, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 56 (scalar:56, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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.000152/0.3064, allocations: 51.58 kB / 393.1 MB, free: 6.598 MB / 302.1 MB Notification: Performance of SimCode: time 0.001661/0.3081, allocations: 1.063 MB / 394.1 MB, free: 5.98 MB / 302.1 MB Notification: Performance of Templates: time 0.007688/0.3158, allocations: 2.333 MB / 396.5 MB, free: 5.668 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.451387031993363] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia1.w', 'inertia2.w', 'inertia3.w', 'inertia4.w'] 0.32415365998167545 0.33857525999999993 0.041430983000000005 Calling exit ...