Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001313/0.001313, allocations: 107.6 kB / 21.25 MB, free: 0.5625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001503/0.001503, allocations: 222.3 kB / 24.56 MB, free: 3.816 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.572/1.572, allocations: 230.5 MB / 258.2 MB, free: 7.711 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm1.la.i|dcpm2.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm1.la.i|dcpm2.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.504e-05, allocations: 2.281 kB / 379 MB, free: 2.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses): time 0.279/0.279, allocations: 10.56 MB / 389.6 MB, free: 8.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009189/0.2882, allocations: 3.149 MB / 392.8 MB, free: 6.734 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003176/0.2914, allocations: 48.78 kB / 392.8 MB, free: 6.719 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002806/0.2942, allocations: 0.6323 MB / 393.4 MB, free: 6.406 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004479/0.2987, allocations: 0.7907 MB / 394.2 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002335/0.301, allocations: 398.8 kB / 394.6 MB, free: 5.578 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005989/0.307, allocations: 2.882 MB / 397.5 MB, free: 4.094 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00183/0.3088, allocations: 0.5154 MB / 398 MB, free: 3.758 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003247/0.3121, allocations: 0.9834 MB / 399 MB, free: 3.254 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002724/0.3148, allocations: 0.8554 MB / 399.8 MB, free: 2.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008239/0.3156, allocations: 199.4 kB / 400 MB, free: 2.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002595/0.3182, allocations: 457.5 kB / 400.5 MB, free: 2.77 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.006202/0.3244, allocations: 4.163 MB / 404.7 MB, free: 15.95 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.003611/0.328, allocations: 2.571 MB / 407.2 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001425/0.3294, allocations: 191.2 kB / 407.4 MB, free: 14.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0007102/0.3301, allocations: 62.36 kB / 407.5 MB, free: 14.12 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 393 (393) * Number of variables: 393 (393) Notification: Performance of [SIM] Bindings: time 0.01708/0.3472, allocations: 11.3 MB / 418.8 MB, free: 4.883 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001613/0.3488, allocations: 1.117 MB / 419.9 MB, free: 3.73 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.005292/0.3541, allocations: 4.816 MB / 424.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001808/0.3559, allocations: 0.7254 MB / 425.4 MB, free: 14.03 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.01471/0.3707, allocations: 8.379 MB / 433.8 MB, free: 4.82 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0008481/0.3715, allocations: 413.2 kB / 434.2 MB, free: 4.348 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0003255/0.3718, allocations: 244.1 kB / 434.5 MB, free: 4.07 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.0009375/0.3728, allocations: 0.6453 MB / 435.1 MB, free: 3.363 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0003078/0.3731, allocations: 131.7 kB / 435.2 MB, free: 3.234 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.001265/0.3743, allocations: 0.9738 MB / 436.2 MB, free: 2.195 MB / 334.1 MB Error: Internal error NBVariable.makeDummyState failed for $DER.dcpm2.strayLoad.phi. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.7397505039698444] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcpm1.la.i', 'dcpm2.la.i', 'loadInertia1.phi', 'loadInertia1.w', 'loadInertia2.phi', 'loadInertia2.w'] 0.39073966100113466 0.404697675 0.071141276 Calling exit ...