Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.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.001438/0.001438, 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.001953/0.001953, 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.511/1.511, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2189/0.2189, 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.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking") translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.069e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.004594/0.004614, allocations: 2.622 MB / 0.4969 GB, free: 7.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002073/0.006687, allocations: 0.9505 MB / 0.4978 GB, free: 6.477 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.006826, allocations: 11.94 kB / 0.4978 GB, free: 6.465 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.006997, allocations: 51.44 kB / 0.4979 GB, free: 6.414 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.007191, allocations: 107.1 kB / 0.498 GB, free: 6.309 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005637/0.007755, allocations: 147.6 kB / 0.4981 GB, free: 6.164 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005577/0.008313, allocations: 470.1 kB / 0.4985 GB, free: 5.703 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002249/0.008538, allocations: 53.39 kB / 0.4986 GB, free: 5.648 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003961/0.008934, allocations: 191.3 kB / 0.4988 GB, free: 5.461 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.009155, allocations: 127.3 kB / 0.4989 GB, free: 5.336 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.454e-05/0.009209, allocations: 28 kB / 0.4989 GB, free: 5.309 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002085/0.009418, allocations: 47.97 kB / 0.499 GB, free: 5.262 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0006972/0.01011, allocations: 0.611 MB / 0.4996 GB, free: 4.645 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003656/0.01048, allocations: 390.8 kB / 0.4999 GB, free: 4.258 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.831e-05/0.01055, allocations: 39.94 kB / 0.5 GB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.918e-05/0.0106, allocations: 15.92 kB / 0.5 GB, free: 4.203 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: 75 (75) * Number of variables: 75 (75) Notification: Performance of [SIM] Bindings: time 0.002093/0.01269, allocations: 1.466 MB / 0.5014 GB, free: 2.605 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002665/0.01296, allocations: 177.2 kB / 0.5016 GB, free: 2.422 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.001127/0.01408, allocations: 0.8159 MB / 0.5024 GB, free: 1.578 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000375/0.01446, allocations: 194.7 kB / 0.5026 GB, free: 1.34 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.002872/0.01733, allocations: 1.476 MB / 0.504 GB, free: 15.64 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002689/0.0176, allocations: 147.9 kB / 0.5042 GB, free: 15.46 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001232/0.01772, allocations: 84.25 kB / 0.5042 GB, free: 15.35 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0004383/0.01816, allocations: 240.7 kB / 0.5045 GB, free: 15.06 MB / 382.1 MB Notification: Performance of [SIM] Events: time 4.997e-05/0.01821, allocations: 23.84 kB / 0.5045 GB, free: 15.04 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.000423/0.01864, allocations: 248.4 kB / 0.5047 GB, free: 14.75 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.002867/0.0215, allocations: 1.907 MB / 0.5066 GB, free: 12.62 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004008/0.0219, allocations: 339.7 kB / 0.5069 GB, free: 12.29 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.0007483/0.02265, allocations: 363.5 kB / 0.5073 GB, free: 11.87 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.0008185/0.02347, allocations: 0.649 MB / 0.5079 GB, free: 11.21 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 6.842e-05/0.02354, allocations: 22.75 kB / 0.5079 GB, free: 11.18 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.0001212/0.02366, allocations: 107.8 kB / 0.508 GB, free: 11.08 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.00132/0.02498, allocations: 0.7092 MB / 0.5087 GB, free: 10.36 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 4.108e-05/0.02502, allocations: 32 kB / 0.5087 GB, free: 10.33 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 9.52e-07/0.02502, allocations: 0 / 0.5087 GB, free: 10.33 MB / 382.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0004449/0.02547, allocations: 265 kB / 0.509 GB, free: 10.04 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.973e-06/0.02547, allocations: 0 / 0.509 GB, free: 10.04 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 3.812e-05/0.02551, allocations: 40 kB / 0.509 GB, free: 9.996 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 2.201e-05/0.02553, allocations: 7.938 kB / 0.509 GB, free: 9.988 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.001252/0.02679, allocations: 0.6692 MB / 0.5097 GB, free: 9.328 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.0008722/0.02766, allocations: 0.9748 MB / 0.5106 GB, free: 8.188 MB / 382.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 5 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * 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: ............................. 11 (11) {inertia1.w, linearSpeedDependentTorque.phi, inertia2.w, quadraticSpeedDependentTorque.phi, inertia3.w, constantTorque.phi, inertia4.phi, inertia4.w, eddyCurrentTorque.phi, inertia5.w, eddyCurrentTorque.TheatPort} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 0 (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: ........... 39 (scalar:39, 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 0.0001429/0.0278, allocations: 48.12 kB / 0.5107 GB, free: 8.145 MB / 382.1 MB Notification: Performance of SimCode: time 0.001872/0.02967, allocations: 1.355 MB / 0.512 GB, free: 6.738 MB / 382.1 MB Notification: Performance of Templates: time 0.007086/0.03676, allocations: 2.734 MB / 0.5147 GB, free: 4 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.164210350019857] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia1.phi', 'inertia1.w', 'inertia2.phi', 'inertia2.w', 'inertia3.phi', 'inertia3.w', 'inertia4.phi', 'inertia4.w', 'inertia5.phi', 'inertia5.w'] 0.04553090495755896 0.323840027 0.31052988800000003 Calling exit ...