Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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.001637/0.001637, allocations: 99.64 kB / 21.25 MB, free: 424 kB / 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.001767/0.001767, allocations: 214.5 kB / 24.55 MB, free: 3.719 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.607/1.607, allocations: 230.5 MB / 258.2 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2549/0.2549, allocations: 46.94 MB / 361.6 MB, free: 3.91 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.26e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.102 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.003341/0.003363, allocations: 1.856 MB / 0.4992 GB, free: 5.234 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.004416, allocations: 0.5415 MB / 0.4997 GB, free: 4.688 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.886e-05/0.004505, allocations: 4 kB / 0.4998 GB, free: 4.684 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.004627, allocations: 23.73 kB / 0.4998 GB, free: 4.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.51e-05/0.004722, allocations: 35.64 kB / 0.4998 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.004963, allocations: 47.92 kB / 0.4999 GB, free: 4.578 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002391/0.005202, allocations: 187.3 kB / 0.5 GB, free: 4.395 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.005367, allocations: 29.86 kB / 0.5001 GB, free: 4.363 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.005551, allocations: 79.7 kB / 0.5001 GB, free: 4.285 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.051e-05/0.005641, allocations: 51.7 kB / 0.5002 GB, free: 4.234 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.005667, allocations: 12 kB / 0.5002 GB, free: 4.223 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.872e-05/0.005725, allocations: 20 kB / 0.5002 GB, free: 4.203 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0002486/0.005974, allocations: 265.3 kB / 0.5005 GB, free: 3.941 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001314/0.006105, allocations: 177.7 kB / 0.5006 GB, free: 3.766 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.00613, allocations: 19.94 kB / 0.5007 GB, free: 3.746 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.692e-05/0.006157, allocations: 4 kB / 0.5007 GB, free: 3.742 MB / 366.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.0009368/0.007094, allocations: 0.7355 MB / 0.5014 GB, free: 2.883 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 8.986e-05/0.007184, allocations: 83.97 kB / 0.5015 GB, free: 2.789 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0004165/0.0076, allocations: 396.1 kB / 0.5018 GB, free: 2.375 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001491/0.00775, allocations: 109.9 kB / 0.5019 GB, free: 2.223 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.001099/0.008848, allocations: 0.6769 MB / 0.5026 GB, free: 1.441 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001122/0.008961, allocations: 84.72 kB / 0.5027 GB, free: 1.312 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 5.504e-05/0.009016, allocations: 48.42 kB / 0.5027 GB, free: 1.238 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0002147/0.00923, allocations: 142 kB / 0.5029 GB, free: 1.047 MB / 366.1 MB Notification: Performance of [SIM] Events: time 5.639e-05/0.009287, allocations: 19.84 kB / 0.5029 GB, free: 1.027 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.000143/0.00943, allocations: 100 kB / 0.503 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.001283/0.01071, allocations: 1.047 MB / 0.504 GB, free: 15.8 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001876/0.0109, allocations: 211.8 kB / 0.5042 GB, free: 15.59 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.0003327/0.01123, allocations: 226.4 kB / 0.5044 GB, free: 15.3 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.0003614/0.01159, allocations: 391.6 kB / 0.5048 GB, free: 14.91 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 3.029e-05/0.01162, allocations: 24.11 kB / 0.5048 GB, free: 14.88 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 5.636e-05/0.01168, allocations: 63.94 kB / 0.5049 GB, free: 14.82 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.0005209/0.0122, allocations: 391.6 kB / 0.5053 GB, free: 14.42 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 7.058e-05/0.01227, allocations: 35.95 kB / 0.5053 GB, free: 14.39 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 4.31e-07/0.01227, allocations: 3.938 kB / 0.5053 GB, free: 14.38 MB / 382.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0001391/0.01241, allocations: 99.98 kB / 0.5054 GB, free: 14.28 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.827e-06/0.01242, allocations: 0 / 0.5054 GB, free: 14.28 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 3.91e-05/0.01245, allocations: 43.98 kB / 0.5054 GB, free: 14.23 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 1.354e-05/0.01247, allocations: 7.938 kB / 0.5054 GB, free: 14.23 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.0005241/0.01299, allocations: 401.5 kB / 0.5058 GB, free: 13.84 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.001094/0.01409, allocations: 1.159 MB / 0.507 GB, free: 12.53 MB / 382.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: ........... 14 (scalar:14, 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: ........... 21 (scalar:21, 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.037e-05/0.01414, allocations: 32.95 kB / 0.507 GB, free: 12.5 MB / 382.1 MB Notification: Performance of SimCode: time 0.0009592/0.0151, allocations: 0.658 MB / 0.5076 GB, free: 11.82 MB / 382.1 MB Notification: Performance of Templates: time 0.004954/0.02005, allocations: 1.586 MB / 0.5092 GB, free: 10.25 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.3198263850063086] Failed to read output from testmodel.py, exit status != 0: ['time', 'J2.phi', 'J2.w'] 0.028242121043149382 0.320187198 0.310379415 Calling exit ...