Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.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.001518/0.001518, allocations: 99.64 kB / 21.25 MB, free: 428 kB / 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.002025/0.002025, allocations: 208.2 kB / 24.55 MB, free: 3.727 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.64/1.64, allocations: 230.7 MB / 258.3 MB, free: 7.766 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.Mechanics.Rotational.Examples.CompareBrakingTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|inertia1.w|inertia2.w|inertia3.w|inertia4.w",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3e-05/3e-05, allocations: 2.281 kB / 379 MB, free: 2.574 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque): time 0.004749/0.004779, allocations: 2.15 MB / 381.2 MB, free: 424 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3003/0.305, allocations: 0.7102 MB / 381.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002234/0.3053, allocations: 9.969 kB / 381.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.3054, allocations: 37.36 kB / 381.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003314/0.3058, allocations: 88.77 kB / 382 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003874/0.3062, allocations: 114.4 kB / 382.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005086/0.3067, allocations: 371 kB / 382.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.3069, allocations: 39.64 kB / 382.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003197/0.3072, allocations: 154.5 kB / 382.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.3074, allocations: 105.9 kB / 382.8 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.282e-05/0.3074, allocations: 20.16 kB / 382.8 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.969e-05/0.3075, allocations: 19.78 kB / 382.8 MB, free: 12.87 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004006/0.3079, allocations: 474.9 kB / 383.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002124/0.3081, allocations: 305.5 kB / 383.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.369e-05/0.3081, allocations: 27.66 kB / 383.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.766e-05/0.3082, allocations: 11.53 kB / 383.6 MB, free: 12.45 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.001174/0.3093, allocations: 1.141 MB / 384.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002224/0.3096, allocations: 138.2 kB / 384.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0005388/0.3101, allocations: 0.5146 MB / 385.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002288/0.3103, allocations: 150.6 kB / 385.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.00167/0.312, allocations: 1.054 MB / 386.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000126/0.3121, allocations: 104.5 kB / 386.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 6.926e-05/0.3122, allocations: 77.12 kB / 386.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003055/0.3125, allocations: 218 kB / 387 MB, free: 10.54 MB / 302.1 MB Notification: Performance of [SIM] Events: time 7.263e-05/0.3126, allocations: 34.88 kB / 387.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002709/0.3129, allocations: 200.1 kB / 387.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001752/0.3146, allocations: 1.6 MB / 388.9 MB, free: 9.32 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002924/0.3149, allocations: 293.3 kB / 389.1 MB, free: 9.164 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0006122/0.3155, allocations: 355.1 kB / 389.5 MB, free: 8.922 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0005359/0.316, allocations: 0.4975 MB / 390 MB, free: 8.641 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 4.318e-05/0.3161, allocations: 23.33 kB / 390 MB, free: 8.625 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 8.872e-05/0.3162, allocations: 94.66 kB / 390.1 MB, free: 8.566 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.00125/0.3174, allocations: 0.8039 MB / 390.9 MB, free: 8.402 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.458e-05/0.3174, allocations: 28.06 kB / 390.9 MB, free: 8.383 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.172e-06/0.3175, allocations: 1.156 kB / 390.9 MB, free: 8.383 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0002563/0.3177, allocations: 197.4 kB / 391.1 MB, free: 8.273 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.782e-06/0.3177, allocations: 0.9688 kB / 391.1 MB, free: 8.273 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 2.208e-05/0.3177, allocations: 38.12 kB / 391.2 MB, free: 8.246 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.564e-05/0.3178, allocations: 3.484 kB / 391.2 MB, free: 8.246 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0007551/0.3185, allocations: 0.4989 MB / 391.7 MB, free: 8.074 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0007376/0.3192, allocations: 1.365 MB / 393 MB, free: 6.688 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.0001322/0.3194, allocations: 47.72 kB / 393.1 MB, free: 6.652 MB / 302.1 MB Notification: Performance of SimCode: time 0.001521/0.3209, allocations: 1.066 MB / 394.1 MB, free: 6.031 MB / 302.1 MB Notification: Performance of Templates: time 0.007337/0.3282, allocations: 2.327 MB / 396.5 MB, free: 5.73 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.093206346966326] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia1.w', 'inertia2.w', 'inertia3.w', 'inertia4.w'] 0.33800885803066194 0.353990347 0.042495459 Calling exit ...