Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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.001954/0.001954, allocations: 99.59 kB / 21.2 MB, free: 0.6406 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.001935/0.001935, allocations: 220.4 kB / 24.5 MB, free: 3.922 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.475/1.475, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=250000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=250000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.515e-05, allocations: 5.375 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.1968/0.1969, allocations: 8.457 MB / 387.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005952/0.2028, allocations: 2.962 MB / 390.4 MB, free: 8.473 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.2041, allocations: 30.16 kB / 390.4 MB, free: 8.465 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001647/0.2057, allocations: 0.5603 MB / 391 MB, free: 8.191 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001432/0.2072, allocations: 0.5881 MB / 391.6 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007683/0.2079, allocations: 316.3 kB / 391.9 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002225/0.2102, allocations: 2.111 MB / 394 MB, free: 6.512 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006478/0.2108, allocations: 393.9 kB / 394.4 MB, free: 6.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.2118, allocations: 0.7471 MB / 395.1 MB, free: 5.906 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007859/0.2126, allocations: 0.7606 MB / 395.9 MB, free: 5.496 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001882/0.2128, allocations: 139.2 kB / 396 MB, free: 5.496 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009475/0.2138, allocations: 401 kB / 396.4 MB, free: 5.418 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002162/0.2159, allocations: 3.112 MB / 399.5 MB, free: 3.344 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001023/0.2169, allocations: 1.92 MB / 401.4 MB, free: 2.004 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002894/0.2172, allocations: 152.2 kB / 401.6 MB, free: 2.004 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002197/0.2174, allocations: 39.86 kB / 401.6 MB, free: 1.996 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 (272) * Number of variables: 272 (272) Notification: Performance of [SIM] Bindings: time 0.008666/0.2261, allocations: 8.532 MB / 410.1 MB, free: 12.19 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001132/0.2272, allocations: 0.7833 MB / 410.9 MB, free: 11.69 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.00411/0.2314, allocations: 3.561 MB / 414.5 MB, free: 8.785 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001422/0.2328, allocations: 0.8318 MB / 415.3 MB, free: 8.207 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.008744/0.2415, allocations: 5.619 MB / 420.9 MB, free: 2.141 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000859/0.2424, allocations: 0.5182 MB / 421.5 MB, free: 1.574 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0003523/0.2427, allocations: 275.9 kB / 421.7 MB, free: 1.277 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0008716/0.2436, allocations: 0.6179 MB / 422.3 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0004909/0.2441, allocations: 307.8 kB / 422.6 MB, free: 296 kB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001413/0.2455, allocations: 1.018 MB / 423.7 MB, free: 15.13 MB / 334.1 MB Error: Internal error NBVariable.makeDummyState failed for $DER.loadInertia.phi. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.3268659468740225] Failed to read output from testmodel.py, exit status != 0: ['time', 'armature.T', 'core.T', 'dcpm.la.i', 'loadInertia.phi', 'loadInertia.w'] 0.2583260419778526 0.27330352 0.052766611000000005 Calling exit ...