Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001687/0.001687, 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.001616/0.001616, allocations: 212.5 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.577/1.577, allocations: 230.6 MB / 258.3 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2414/0.2414, allocations: 46.97 MB / 361.7 MB, free: 3.977 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.496e-05, allocations: 6.219 kB / 0.4974 GB, free: 7.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.003558/0.003583, allocations: 1.863 MB / 0.4992 GB, free: 5.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.004689, allocations: 0.5221 MB / 0.4997 GB, free: 4.812 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.281e-05/0.004782, allocations: 11.94 kB / 0.4997 GB, free: 4.801 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.004922, allocations: 27.78 kB / 0.4998 GB, free: 4.773 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.005029, allocations: 35.64 kB / 0.4998 GB, free: 4.738 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.00527, allocations: 47.88 kB / 0.4998 GB, free: 4.691 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.005504, allocations: 183.3 kB / 0.5 GB, free: 4.512 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.005672, allocations: 37.84 kB / 0.5001 GB, free: 4.473 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.005876, allocations: 79.7 kB / 0.5001 GB, free: 4.395 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.005979, allocations: 59.69 kB / 0.5002 GB, free: 4.336 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.006005, allocations: 12 kB / 0.5002 GB, free: 4.324 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.668e-05/0.006061, allocations: 12 kB / 0.5002 GB, free: 4.312 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0002492/0.006311, allocations: 261.4 kB / 0.5005 GB, free: 4.055 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.000124/0.006435, allocations: 173.7 kB / 0.5006 GB, free: 3.883 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.8e-05/0.006463, allocations: 12 kB / 0.5006 GB, free: 3.871 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.646e-05/0.006489, allocations: 4 kB / 0.5006 GB, free: 3.867 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.0009779/0.007467, allocations: 0.7443 MB / 0.5014 GB, free: 2.996 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001072/0.007574, allocations: 91.89 kB / 0.5015 GB, free: 2.895 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0004409/0.008015, allocations: 392.1 kB / 0.5018 GB, free: 2.484 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001598/0.008175, allocations: 113.9 kB / 0.5019 GB, free: 2.328 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.001136/0.009311, allocations: 0.6659 MB / 0.5026 GB, free: 1.559 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001219/0.009433, allocations: 92.7 kB / 0.5027 GB, free: 1.422 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 6.261e-05/0.009496, allocations: 52.41 kB / 0.5027 GB, free: 1.344 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0002237/0.009719, allocations: 137.9 kB / 0.5029 GB, free: 1.156 MB / 366.1 MB Notification: Performance of [SIM] Events: time 5.591e-05/0.009775, allocations: 19.84 kB / 0.5029 GB, free: 1.137 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001477/0.009923, allocations: 96.06 kB / 0.503 GB, free: 1.035 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.001342/0.01127, allocations: 1.047 MB / 0.504 GB, free: 15.91 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001909/0.01146, allocations: 203.8 kB / 0.5042 GB, free: 15.71 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.0003667/0.01182, allocations: 238.7 kB / 0.5044 GB, free: 15.41 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.000423/0.01225, allocations: 399.7 kB / 0.5048 GB, free: 15.01 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 2.885e-05/0.01228, allocations: 16.12 kB / 0.5048 GB, free: 14.99 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 6.611e-05/0.01234, allocations: 63.88 kB / 0.5049 GB, free: 14.93 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.0005773/0.01292, allocations: 397.8 kB / 0.5052 GB, free: 14.52 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 6.521e-05/0.01298, allocations: 27.98 kB / 0.5053 GB, free: 14.5 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 2.114e-06/0.01299, allocations: 4 kB / 0.5053 GB, free: 14.49 MB / 382.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0001424/0.01313, allocations: 104 kB / 0.5054 GB, free: 14.38 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.05e-06/0.01313, allocations: 0 / 0.5054 GB, free: 14.38 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 4.639e-05/0.01318, allocations: 43.98 kB / 0.5054 GB, free: 14.34 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 8.115e-06/0.01319, allocations: 0 / 0.5054 GB, free: 14.34 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.0005492/0.01374, allocations: 395.3 kB / 0.5058 GB, free: 13.96 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.001225/0.01496, allocations: 1.166 MB / 0.5069 GB, free: 12.64 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 4.616e-05/0.01501, allocations: 25.88 kB / 0.507 GB, free: 12.62 MB / 382.1 MB Notification: Performance of SimCode: time 0.001034/0.01604, allocations: 0.6564 MB / 0.5076 GB, free: 11.94 MB / 382.1 MB Notification: Performance of Templates: time 0.00523/0.02127, allocations: 1.585 MB / 0.5091 GB, free: 10.36 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.329786999034695] Failed to read output from testmodel.py, exit status != 0: ['time', 'J2.phi', 'J2.w'] 0.0295319149736315 0.314021535 0.304134405 Calling exit ...