Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Rotational.Drive.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.001607/0.001607, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.41/1.41, allocations: 230.7 MB / 253.5 MB, free: 14.23 MB / 206.1 MB " [Timeout remaining time 178] 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.001595/0.001595, allocations: 214.2 kB / 310.1 MB, free: 3.117 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.039/0.039, allocations: 8.926 MB / 375.4 MB, free: 6.52 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Rotational.Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.Drive") translateModel(HanserModelica.Rotational.Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.Drive") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/1.926e-05, allocations: 4.812 kB / 0.4904 GB, free: 44.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.Drive): time 0.002774/0.002793, allocations: 1.987 MB / 0.4924 GB, free: 42.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.00424, allocations: 1.08 MB / 0.4934 GB, free: 41.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.072e-05/0.004331, allocations: 0 / 0.4934 GB, free: 41.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000323/0.004654, allocations: 123.5 kB / 0.4935 GB, free: 41.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003345/0.004988, allocations: 151.3 kB / 0.4937 GB, free: 40.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.005184, allocations: 107.6 kB / 0.4938 GB, free: 40.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.005399, allocations: 279.1 kB / 0.494 GB, free: 40.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.005525, allocations: 37.7 kB / 0.4941 GB, free: 40.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.005644, allocations: 115.7 kB / 0.4942 GB, free: 40.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.005766, allocations: 115.5 kB / 0.4943 GB, free: 40.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.005791, allocations: 12 kB / 0.4943 GB, free: 40.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.996e-05/0.005881, allocations: 47.98 kB / 0.4944 GB, free: 40.21 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0001667/0.006048, allocations: 336.5 kB / 0.4947 GB, free: 39.88 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 6.924e-05/0.006117, allocations: 221.1 kB / 0.4949 GB, free: 39.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.821e-05/0.006146, allocations: 12 kB / 0.4949 GB, free: 39.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.725e-05/0.006173, allocations: 11.88 kB / 0.4949 GB, free: 39.64 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 (28) * Number of variables: 28 (28) Notification: Performance of [SIM] Bindings: time 0.0006429/0.006816, allocations: 0.849 MB / 0.4957 GB, free: 38.67 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 9.547e-05/0.006911, allocations: 89.27 kB / 0.4958 GB, free: 38.57 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001824/0.007094, allocations: 328 kB / 0.4961 GB, free: 38.22 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 8.779e-05/0.007181, allocations: 104.6 kB / 0.4962 GB, free: 38.07 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.0006897/0.007871, allocations: 0.6198 MB / 0.4968 GB, free: 37.36 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 5.835e-05/0.007929, allocations: 90.03 kB / 0.4969 GB, free: 37.22 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 3.131e-05/0.007961, allocations: 56.34 kB / 0.497 GB, free: 37.14 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.0001705/0.008131, allocations: 144.7 kB / 0.4971 GB, free: 36.95 MB / 350.1 MB Notification: Performance of [SIM] Events: time 5.92e-05/0.00819, allocations: 35.7 kB / 0.4972 GB, free: 36.91 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001339/0.008324, allocations: 106.5 kB / 0.4973 GB, free: 36.8 MB / 350.1 MB Notification: Performance of [SIM] Causalize: time 0.0005662/0.008891, allocations: 0.5762 MB / 0.4978 GB, free: 36.18 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 9.851e-05/0.008989, allocations: 183.8 kB / 0.498 GB, free: 36 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.001796/0.01078, allocations: 331.8 kB / 0.4983 GB, free: 35.64 MB / 350.1 MB Notification: Performance of [INI] Inline: time 0.000192/0.01098, allocations: 311.7 kB / 0.4986 GB, free: 35.33 MB / 350.1 MB Notification: Performance of [INI] Partitioning: time 1.695e-05/0.01099, allocations: 12.12 kB / 0.4986 GB, free: 35.31 MB / 350.1 MB Notification: Performance of [INI] Cleanup: time 3.717e-05/0.01103, allocations: 59.94 kB / 0.4987 GB, free: 35.25 MB / 350.1 MB Notification: Performance of [INI] Causalize: time 0.0006771/0.01171, allocations: 0.6552 MB / 0.4993 GB, free: 34.59 MB / 350.1 MB Notification: Performance of [INI] Tearing: time 1.438e-05/0.01172, allocations: 20 kB / 0.4993 GB, free: 34.57 MB / 350.1 MB Notification: Performance of [SIM] Initialization: time 3.31e-07/0.01172, allocations: 0 / 0.4993 GB, free: 34.57 MB / 350.1 MB Notification: Performance of [SIM] DAE-Mode: time 8.025e-05/0.0118, allocations: 72.88 kB / 0.4994 GB, free: 34.5 MB / 350.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.619e-06/0.01181, allocations: 4 kB / 0.4994 GB, free: 34.5 MB / 350.1 MB Notification: Performance of [SIM] Tearing: time 4.689e-06/0.01181, allocations: 12 kB / 0.4994 GB, free: 34.48 MB / 350.1 MB Notification: Performance of [SIM] Categorize: time 7.224e-06/0.01182, allocations: 7.938 kB / 0.4994 GB, free: 34.48 MB / 350.1 MB Notification: Performance of [SIM] Solve: time 0.000261/0.01208, allocations: 241.8 kB / 0.4997 GB, free: 34.24 MB / 350.1 MB Notification: Performance of [SIM] Jacobian: time 0.0002374/0.01232, allocations: 444.6 kB / 0.5001 GB, free: 33.74 MB / 350.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) {inertia.w, load.phi} * Number of discrete states: .................... 2 (2) {combiTimeTable.nextTimeEvent, combiTimeTable.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 3 (3) {$SEV_1, $SEV_0, $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: ........... 15 (scalar:15, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 26 (scalar:26, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, 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 3.795e-05/0.01236, allocations: 44.47 kB / 0.5001 GB, free: 33.7 MB / 350.1 MB Notification: Performance of SimCode: time 0.002463/0.01482, allocations: 1.156 MB / 0.5013 GB, free: 32.73 MB / 350.1 MB Notification: Performance of Templates: time 0.004851/0.01967, allocations: 1.994 MB / 0.5032 GB, free: 30.75 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Rotational.Drive.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Rotational.Drive.pipe ; mkfifo HanserModelica_HanserModelica.Rotational.Drive.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Rotational.Drive.pipe >> ../files/HanserModelica_HanserModelica.Rotational.Drive.sim & ./HanserModelica_HanserModelica.Rotational.Drive -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Rotational.Drive.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.416339660005178] Failed to read output from testmodel.py, exit status != 0: 0.025954140000976622 0.035719011 0.027563498000000002 Calling exit ...