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.001721/0.001721, 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.002136/0.002136, 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.618/1.618, allocations: 230.6 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.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 3.614e-05/3.614e-05, allocations: 6.219 kB / 379.1 MB, free: 2.441 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.2158/0.2159, allocations: 8.447 MB / 387.5 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00548/0.2213, allocations: 2.967 MB / 390.5 MB, free: 8.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.2224, allocations: 30.31 kB / 390.5 MB, free: 8.473 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.2239, allocations: 0.5652 MB / 391.1 MB, free: 8.195 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.2252, allocations: 0.5867 MB / 391.7 MB, free: 7.773 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006757/0.2259, allocations: 317.4 kB / 392 MB, free: 7.586 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002108/0.228, allocations: 2.111 MB / 394.1 MB, free: 6.516 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006674/0.2287, allocations: 361.7 kB / 394.4 MB, free: 6.305 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.2298, allocations: 0.7511 MB / 395.2 MB, free: 5.938 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007419/0.2305, allocations: 0.6486 MB / 395.8 MB, free: 5.641 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001743/0.2307, allocations: 137.5 kB / 396 MB, free: 5.641 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009097/0.2316, allocations: 394.8 kB / 396.4 MB, free: 5.57 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002025/0.2336, allocations: 3.116 MB / 399.5 MB, free: 3.492 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001187/0.2348, allocations: 1.92 MB / 401.4 MB, free: 2.152 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003829/0.2352, allocations: 151.8 kB / 401.5 MB, free: 2.152 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002546/0.2354, allocations: 38.84 kB / 401.6 MB, free: 2.145 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.007937/0.2434, allocations: 8.538 MB / 410.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0009978/0.2444, allocations: 0.8003 MB / 410.9 MB, free: 11.82 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.003825/0.2482, allocations: 3.551 MB / 414.5 MB, free: 8.918 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001364/0.2496, allocations: 0.7194 MB / 415.2 MB, free: 8.449 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.008614/0.2582, allocations: 5.722 MB / 420.9 MB, free: 2.277 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0007489/0.2589, allocations: 475.1 kB / 421.4 MB, free: 1.762 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0003282/0.2593, allocations: 276 kB / 421.6 MB, free: 1.465 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0007609/0.26, allocations: 0.6143 MB / 422.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0004352/0.2605, allocations: 311.1 kB / 422.6 MB, free: 484 kB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001232/0.2617, allocations: 1.026 MB / 423.6 MB, free: 15.31 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.475152724015061] Failed to read output from testmodel.py, exit status != 0: ['time', 'armature.T', 'core.T', 'dcpm.la.i', 'loadInertia.phi', 'loadInertia.w'] 0.27436252700863406 0.294770285 0.054890994000000005 Calling exit ...