Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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.001793/0.001793, allocations: 96.42 kB / 20.51 MB, free: 1.152 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.002157/0.002157, allocations: 217.3 kB / 23.82 MB, free: 4.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.65/1.65, allocations: 207.7 MB / 234.7 MB, free: 9.77 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2701/0.2701, allocations: 44.26 MB / 331.2 MB, free: 9.273 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.215e-05/3.215e-05, allocations: 3.688 kB / 468.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.004145/0.004177, allocations: 1.844 MB / 470.6 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.005209, allocations: 0.5113 MB / 471.2 MB, free: 1.488 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.742e-05/0.005296, allocations: 4 kB / 471.2 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.005432, allocations: 23.73 kB / 471.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.005535, allocations: 47.62 kB / 471.2 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.005734, allocations: 35.94 kB / 471.3 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.005981, allocations: 167.2 kB / 471.4 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000193/0.006174, allocations: 45.77 kB / 471.5 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.006308, allocations: 67.78 kB / 471.5 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.006415, allocations: 51.7 kB / 471.6 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.882e-05/0.006454, allocations: 12 kB / 471.6 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.914e-05/0.006483, allocations: 12 kB / 471.6 MB, free: 1.027 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0002633/0.006746, allocations: 265.3 kB / 471.9 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001173/0.006864, allocations: 161.9 kB / 472 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.818e-05/0.006892, allocations: 12 kB / 472 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.833e-05/0.00693, allocations: 7.938 kB / 472 MB, free: 0.5859 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 (32) * Number of variables: 32 (32) Notification: Performance of [SIM] Bindings: time 0.0009858/0.007916, allocations: 0.7206 MB / 472.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001867/0.008103, allocations: 123.5 kB / 472.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.0003535/0.008456, allocations: 336.1 kB / 473.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001786/0.008635, allocations: 119.2 kB / 473.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.00112/0.009755, allocations: 0.6659 MB / 474 MB, free: 14.32 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001119/0.009867, allocations: 88.7 kB / 474.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 6.304e-05/0.00993, allocations: 52.36 kB / 474.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.0002677/0.0102, allocations: 142.9 kB / 474.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of [SIM] Events: time 6.255e-05/0.01026, allocations: 23.92 kB / 474.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.000162/0.01042, allocations: 96.06 kB / 474.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of [SIM] Causalize: time 0.001394/0.01182, allocations: 1.085 MB / 475.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002146/0.01203, allocations: 219.8 kB / 475.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.0003419/0.01237, allocations: 219.2 kB / 475.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of [INI] Inline: time 0.0003401/0.01271, allocations: 355.5 kB / 476.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of [INI] Partitioning: time 2.869e-05/0.01274, allocations: 20.09 kB / 476.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of [INI] Cleanup: time 5.436e-05/0.01279, allocations: 63.95 kB / 476.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of [INI] Causalize: time 0.0005539/0.01335, allocations: 404.6 kB / 476.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of [INI] Tearing: time 6.817e-05/0.01342, allocations: 35.92 kB / 476.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of [SIM] Initialization: time 4.01e-07/0.01342, allocations: 0 / 476.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0001437/0.01356, allocations: 104 kB / 476.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.28e-06/0.01357, allocations: 0 / 476.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of [SIM] Tearing: time 5.029e-05/0.01362, allocations: 47.91 kB / 476.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of [SIM] Categorize: time 8.326e-06/0.01363, allocations: 4 kB / 476.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of [SIM] Solve: time 0.0005477/0.01417, allocations: 401.4 kB / 477.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of [SIM] Jacobian: time 0.001166/0.01534, allocations: 1.179 MB / 478.5 MB, free: 9.375 MB / 350.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: ............... 1 * 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: ............................. 2 (2) {J2.w, gear.phi_b} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 1 (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: ........... 15 (scalar:15, 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: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 22 (scalar:22, 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: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 5.068e-05/0.01539, allocations: 30.89 kB / 478.5 MB, free: 9.344 MB / 350.1 MB Notification: Performance of SimCode: time 0.0008793/0.01627, allocations: 0.6498 MB / 479.2 MB, free: 8.68 MB / 350.1 MB Notification: Performance of Templates: time 0.005099/0.02137, allocations: 1.564 MB / 480.7 MB, free: 7.125 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.294170869980007] Failed to read output from testmodel.py, exit status != 0: ['time', 'J2.phi', 'J2.w'] 0.03070523397764191 0.045027157000000005 0.035150977 Calling exit ...