Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.001703/0.001703, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.002221/0.002221, allocations: 207.2 kB / 24.55 MB, free: 3.727 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.681/1.681, allocations: 230.7 MB / 258.3 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/2.845e-05, allocations: 2.281 kB / 379.1 MB, free: 2.418 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.316/0.3161, allocations: 16.73 MB / 395.8 MB, free: 5.168 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01948/0.3356, allocations: 5.797 MB / 401.6 MB, free: 1.402 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008498/0.3441, allocations: 191.6 kB / 401.8 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01454/0.3586, allocations: 5.681 MB / 407.5 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01479/0.3734, allocations: 3.425 MB / 410.9 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005647/0.379, allocations: 1.575 MB / 412.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02671/0.4057, allocations: 13.71 MB / 426.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0119/0.4176, allocations: 4.519 MB / 430.7 MB, free: 9.438 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01106/0.4287, allocations: 3.407 MB / 434.1 MB, free: 6.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01307/0.4418, allocations: 6.429 MB / 440.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003073/0.4448, allocations: 476 kB / 441 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006502/0.4513, allocations: 1.143 MB / 442.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.01853/0.4699, allocations: 10.48 MB / 452.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.009443/0.4793, allocations: 6.004 MB / 458.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003862/0.4832, allocations: 292 kB / 458.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.001558/0.4847, allocations: 142.9 kB / 459 MB, free: 12.9 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: 2386 (905) * Number of variables: 2386 (720) Notification: Performance of [SIM] Bindings: time 0.05239/0.5371, allocations: 25.98 MB / 485 MB, free: 2.375 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.007283/0.5444, allocations: 2.926 MB / 487.9 MB, free: 15.33 MB / 398.1 MB Notification: Performance of [SIM] Early Inline: time 7.253/7.798, allocations: 1.91 GB / 2.387 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of [SIM] Simplify 1: time 4.544/12.34, allocations: 1.113 GB / 3.5 GB, free: 44.39 MB / 0.8731 GB Notification: Performance of [SIM] Alias: time 2.041/14.38, allocations: 468.9 MB / 3.958 GB, free: 151.4 MB / 0.8731 GB Notification: Performance of [SIM] Simplify 2: time 4.537/18.92, allocations: 1.113 GB / 5.07 GB, free: 118.8 MB / 0.8731 GB Notification: Performance of [SIM] Remove Stream: time 0.2003/19.12, allocations: 69.52 MB / 5.138 GB, free: 114.8 MB / 0.8731 GB Notification: Performance of [SIM] Detect States: time 1.055/20.18, allocations: 200.1 MB / 5.334 GB, free: 292.4 MB / 0.8731 GB Notification: Performance of [SIM] Events: time 1.397/21.57, allocations: 0.5672 GB / 5.901 GB, free: 155.8 MB / 0.8731 GB Notification: Performance of [SIM] Partitioning: time 0.1168/21.69, allocations: 40.52 MB / 5.94 GB, free: 138.2 MB / 0.8731 GB Error: Internal error NBVariable.makeDummyState failed for $DER.piston.body.w_a. " [Timeout remaining time 638] [Calling sys.exit(0), Time elapsed: 24.313218127004802] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia.phi', 'inertia.w'] 21.75213159696432 21.760800905 21.273039436 Calling exit ...