Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001831/0.001831, allocations: 103.6 kB / 21.25 MB, free: 0.5664 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.002127/0.002127, allocations: 211 kB / 24.55 MB, free: 3.824 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.573/1.573, allocations: 230.6 MB / 258.3 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2418/0.2418, allocations: 44.94 MB / 359.7 MB, free: 6.078 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.737e-05/2.737e-05, allocations: 9.031 kB / 0.4943 GB, free: 10.03 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.003822/0.00385, allocations: 1.864 MB / 0.4961 GB, free: 8.156 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.005104, allocations: 0.5299 MB / 0.4966 GB, free: 7.621 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.005253, allocations: 7.938 kB / 0.4967 GB, free: 7.613 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.005424, allocations: 19.78 kB / 0.4967 GB, free: 7.594 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.005546, allocations: 39.64 kB / 0.4967 GB, free: 7.555 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.005853, allocations: 47.89 kB / 0.4968 GB, free: 7.508 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003116/0.006165, allocations: 191.2 kB / 0.4969 GB, free: 7.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002289/0.006393, allocations: 37.84 kB / 0.497 GB, free: 7.281 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.006627, allocations: 71.77 kB / 0.497 GB, free: 7.211 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.00675, allocations: 55.7 kB / 0.4971 GB, free: 7.156 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.006778, allocations: 12 kB / 0.4971 GB, free: 7.145 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.138e-05/0.006849, allocations: 16 kB / 0.4971 GB, free: 7.129 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0002875/0.007137, allocations: 269.3 kB / 0.4974 GB, free: 6.863 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001438/0.007281, allocations: 169.7 kB / 0.4975 GB, free: 6.695 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.303e-05/0.007314, allocations: 19.88 kB / 0.4976 GB, free: 6.676 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.586e-05/0.007359, allocations: 8 kB / 0.4976 GB, free: 6.668 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.001192/0.008551, allocations: 0.7326 MB / 0.4983 GB, free: 5.809 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001301/0.008681, allocations: 83.91 kB / 0.4984 GB, free: 5.715 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0004929/0.009174, allocations: 396.1 kB / 0.4987 GB, free: 5.301 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001587/0.009333, allocations: 113.9 kB / 0.4989 GB, free: 5.145 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.00134/0.01067, allocations: 0.6607 MB / 0.4995 GB, free: 4.379 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.00013/0.0108, allocations: 93.22 kB / 0.4996 GB, free: 4.242 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 6.648e-05/0.01087, allocations: 52.36 kB / 0.4996 GB, free: 4.164 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0002579/0.01113, allocations: 142.8 kB / 0.4998 GB, free: 3.973 MB / 366.1 MB Notification: Performance of [SIM] Events: time 6.936e-05/0.0112, allocations: 19.84 kB / 0.4998 GB, free: 3.953 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001629/0.01136, allocations: 100.1 kB / 0.4999 GB, free: 3.848 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.001411/0.01277, allocations: 1.049 MB / 0.5009 GB, free: 2.723 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002053/0.01298, allocations: 207.8 kB / 0.5011 GB, free: 2.52 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0003784/0.01335, allocations: 234.3 kB / 0.5013 GB, free: 2.223 MB / 366.1 MB Notification: Performance of [INI] Inline: time 0.0003904/0.01375, allocations: 395.6 kB / 0.5017 GB, free: 1.832 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 2.953e-05/0.01377, allocations: 20.12 kB / 0.5017 GB, free: 1.805 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 5.929e-05/0.01383, allocations: 59.94 kB / 0.5018 GB, free: 1.746 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 0.0005516/0.01439, allocations: 395.6 kB / 0.5022 GB, free: 1.344 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 7.181e-05/0.01446, allocations: 31.98 kB / 0.5022 GB, free: 1.312 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.91e-07/0.01446, allocations: 0 / 0.5022 GB, free: 1.312 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0001437/0.0146, allocations: 98.8 kB / 0.5023 GB, free: 1.211 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.604e-06/0.01461, allocations: 4 kB / 0.5023 GB, free: 1.207 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 4.802e-05/0.01466, allocations: 47.95 kB / 0.5023 GB, free: 1.16 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 8.556e-06/0.01467, allocations: 4 kB / 0.5023 GB, free: 1.156 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 0.0005312/0.0152, allocations: 389.8 kB / 0.5027 GB, free: 0.7773 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.001188/0.01638, allocations: 1.163 MB / 0.5038 GB, free: 15.46 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 6.517e-05/0.01645, allocations: 34.41 kB / 0.5039 GB, free: 15.43 MB / 382.1 MB Notification: Performance of SimCode: time 0.001046/0.0175, allocations: 0.6618 MB / 0.5045 GB, free: 14.75 MB / 382.1 MB Notification: Performance of Templates: time 0.005114/0.02261, allocations: 1.585 MB / 0.5061 GB, free: 13.18 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.480396997008938] Failed to read output from testmodel.py, exit status != 0: ['time', 'J2.phi', 'J2.w'] 0.031121413048822433 0.355007824 0.034590515 Calling exit ...