Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.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.001541/0.001541, 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.002035/0.002035, allocations: 212 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.48/1.48, 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.2335/0.2335, allocations: 44.93 MB / 359.7 MB, free: 6.023 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.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.296e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.06 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004471/0.004494, allocations: 2.483 MB / 0.4967 GB, free: 7.566 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.00587, allocations: 0.6817 MB / 0.4974 GB, free: 6.879 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.006, allocations: 7.938 kB / 0.4974 GB, free: 6.871 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001832/0.006183, allocations: 47.53 kB / 0.4975 GB, free: 6.824 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.006372, allocations: 91.19 kB / 0.4975 GB, free: 6.734 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.006705, allocations: 103.8 kB / 0.4976 GB, free: 6.633 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004902/0.007195, allocations: 418.4 kB / 0.498 GB, free: 6.223 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002111/0.007406, allocations: 54.12 kB / 0.4981 GB, free: 6.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002888/0.007695, allocations: 167.5 kB / 0.4982 GB, free: 5.996 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.007879, allocations: 123.3 kB / 0.4984 GB, free: 5.875 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.968e-05/0.007919, allocations: 20 kB / 0.4984 GB, free: 5.855 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.143e-05/0.00801, allocations: 28 kB / 0.4984 GB, free: 5.828 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.000522/0.008532, allocations: 0.5644 MB / 0.499 GB, free: 5.258 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002894/0.008822, allocations: 375 kB / 0.4993 GB, free: 4.887 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.432e-05/0.008866, allocations: 28 kB / 0.4993 GB, free: 4.859 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.157e-05/0.008907, allocations: 11.94 kB / 0.4994 GB, free: 4.848 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: 60 (60) * Number of variables: 60 (60) Notification: Performance of [SIM] Bindings: time 0.001651/0.01056, allocations: 1.347 MB / 0.5007 GB, free: 3.367 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001881/0.01075, allocations: 149.2 kB / 0.5008 GB, free: 3.211 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0008132/0.01156, allocations: 0.695 MB / 0.5015 GB, free: 2.488 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002582/0.01182, allocations: 153.8 kB / 0.5016 GB, free: 2.293 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.00217/0.01399, allocations: 1.384 MB / 0.503 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001574/0.01415, allocations: 124.6 kB / 0.5031 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 8.599e-05/0.01423, allocations: 68.34 kB / 0.5032 GB, free: 440 kB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0003458/0.01458, allocations: 242.5 kB / 0.5034 GB, free: 144 kB / 366.1 MB Notification: Performance of [SIM] Events: time 0.0001012/0.01468, allocations: 49.02 kB / 0.5035 GB, free: 96 kB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003084/0.01499, allocations: 224.9 kB / 0.5037 GB, free: 15.84 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.003668/0.01865, allocations: 3.002 MB / 0.5066 GB, free: 12.52 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004582/0.01911, allocations: 491.5 kB / 0.5071 GB, free: 12.04 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.0005931/0.01971, allocations: 349.8 kB / 0.5074 GB, free: 11.63 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.0008157/0.02052, allocations: 0.8248 MB / 0.5082 GB, free: 10.8 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 4.532e-05/0.02057, allocations: 22.75 kB / 0.5082 GB, free: 10.77 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.0001215/0.02069, allocations: 123.9 kB / 0.5083 GB, free: 10.65 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.001036/0.02172, allocations: 0.7418 MB / 0.5091 GB, free: 9.902 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 2.974e-05/0.02175, allocations: 28 kB / 0.5091 GB, free: 9.875 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 4.11e-07/0.02175, allocations: 3.938 kB / 0.5091 GB, free: 9.871 MB / 382.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0003336/0.02209, allocations: 239.8 kB / 0.5093 GB, free: 9.609 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.871e-06/0.02209, allocations: 0 / 0.5093 GB, free: 9.609 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 3.173e-05/0.02213, allocations: 51.88 kB / 0.5094 GB, free: 9.559 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 1.45e-05/0.02214, allocations: 4 kB / 0.5094 GB, free: 9.555 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.0009618/0.0231, allocations: 0.7102 MB / 0.5101 GB, free: 8.852 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.001082/0.02418, allocations: 1.219 MB / 0.5113 GB, free: 7.434 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: ............... 2 * Number of algebraic event partitions: ......... 2 * 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: ............................. 6 (6) {speed1.phi, speed1.w, speed2.phi, speed3.s, speed3.v, speed4.s} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {$TEV_3, $TEV_2, $TEV_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: ........... 44 (scalar:44, 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: ........... 54 (scalar:54, 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 7.274e-05/0.02426, allocations: 53.3 kB / 0.5113 GB, free: 7.387 MB / 382.1 MB Notification: Performance of SimCode: time 0.001844/0.0261, allocations: 1.264 MB / 0.5126 GB, free: 6.066 MB / 382.1 MB Notification: Performance of Templates: time 0.007253/0.03335, allocations: 2.87 MB / 0.5154 GB, free: 3.203 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.232517965952866] Failed to read output from testmodel.py, exit status != 0: ['time', 'speed1.phi', 'speed1.w', 'speed2.phi', 'speed3.s', 'speed3.v', 'speed4.s'] 0.04221975797554478 0.27942694300000004 0.268018929 Calling exit ...