Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.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.001728/0.001728, 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.001465/0.001465, allocations: 203.2 kB / 24.54 MB, free: 3.73 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.597/1.597, allocations: 230.7 MB / 258.3 MB, free: 7.738 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_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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.655e-05, allocations: 2.281 kB / 379.1 MB, free: 2.418 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses): time 0.2857/0.2857, allocations: 10.56 MB / 389.6 MB, free: 8.883 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009053/0.2948, allocations: 3.146 MB / 392.8 MB, free: 6.871 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004329/0.2991, allocations: 44.31 kB / 392.8 MB, free: 6.859 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003405/0.3025, allocations: 0.6368 MB / 393.4 MB, free: 6.543 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004871/0.3074, allocations: 0.795 MB / 394.2 MB, free: 5.961 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.3093, allocations: 392.2 kB / 394.6 MB, free: 5.715 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006009/0.3153, allocations: 2.878 MB / 397.5 MB, free: 4.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002112/0.3174, allocations: 0.5181 MB / 398 MB, free: 3.895 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002788/0.3202, allocations: 0.9822 MB / 399 MB, free: 3.391 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00294/0.3231, allocations: 0.8554 MB / 399.9 MB, free: 2.977 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000824/0.324, allocations: 199.9 kB / 400 MB, free: 2.977 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002652/0.3266, allocations: 463.5 kB / 400.5 MB, free: 2.902 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.006827/0.3334, allocations: 4.158 MB / 404.7 MB, free: 88 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.004467/0.3379, allocations: 2.57 MB / 407.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001553/0.3395, allocations: 192.3 kB / 407.4 MB, free: 14.28 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0008084/0.3403, allocations: 55.62 kB / 407.5 MB, free: 14.26 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.02089/0.3611, allocations: 11.31 MB / 418.8 MB, free: 5.059 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002468/0.3636, allocations: 1.123 MB / 419.9 MB, free: 3.898 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.006089/0.3697, allocations: 4.812 MB / 424.7 MB, free: 15.03 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001822/0.3715, allocations: 0.7303 MB / 425.4 MB, free: 14.19 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.01508/0.3866, allocations: 8.384 MB / 433.8 MB, free: 4.984 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0007902/0.3874, allocations: 409 kB / 434.2 MB, free: 4.516 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0003392/0.3877, allocations: 252.1 kB / 434.5 MB, free: 4.23 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.001006/0.3887, allocations: 0.6289 MB / 435.1 MB, free: 3.539 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0003371/0.3891, allocations: 148.5 kB / 435.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.00142/0.3905, allocations: 0.9816 MB / 436.2 MB, free: 2.348 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.8720117390039377] 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.4064935289788991 0.422202601 0.07857288300000001 Calling exit ...