Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.002018/0.002018, allocations: 109.2 kB / 22 MB, free: 5.223 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.002613/0.002613, allocations: 209.5 kB / 25.3 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 207.7 MB / 236.2 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.886e-05/2.886e-05, allocations: 6.219 kB / 348.5 MB, free: 9.379 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses): time 0.01563/0.01566, allocations: 10.51 MB / 359 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009066/0.02472, allocations: 3.13 MB / 362.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001624/0.02635, allocations: 43.81 kB / 362.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002038/0.02838, allocations: 0.6401 MB / 362.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002335/0.03072, allocations: 0.7911 MB / 363.6 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009375/0.03166, allocations: 395.6 kB / 364 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004052/0.03571, allocations: 2.885 MB / 366.9 MB, free: 6.906 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.0368, allocations: 0.5142 MB / 367.4 MB, free: 6.344 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001821/0.03862, allocations: 0.9768 MB / 368.4 MB, free: 5.363 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001268/0.03989, allocations: 0.851 MB / 369.2 MB, free: 4.508 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002989/0.04019, allocations: 200 kB / 369.4 MB, free: 4.312 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/0.04178, allocations: 463.4 kB / 369.9 MB, free: 3.859 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.004629/0.0464, allocations: 4.167 MB / 374.1 MB, free: 15.65 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.002922/0.04933, allocations: 2.568 MB / 376.6 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007272/0.05005, allocations: 192 kB / 376.8 MB, free: 12.86 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0006283/0.05068, allocations: 55.8 kB / 376.9 MB, free: 12.81 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.01383/0.06451, allocations: 11.31 MB / 388.2 MB, free: 1.16 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001539/0.06605, allocations: 1.114 MB / 389.3 MB, free: 8 kB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.3131/0.3791, allocations: 4.815 MB / 394.1 MB, free: 29.15 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002579/0.3817, allocations: 0.7173 MB / 394.8 MB, free: 28.89 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.02054/0.4022, allocations: 8.38 MB / 403.2 MB, free: 25.18 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001112/0.4034, allocations: 417.8 kB / 403.6 MB, free: 24.97 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0003633/0.4037, allocations: 240.4 kB / 403.8 MB, free: 24.79 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0008975/0.4046, allocations: 0.6458 MB / 404.5 MB, free: 24.34 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0003511/0.405, allocations: 148.4 kB / 404.6 MB, free: 24.28 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001313/0.4063, allocations: 0.9816 MB / 405.6 MB, free: 23.75 MB / 318.1 MB Error: Internal error NBVariable.makeDummyState failed for $DER.dcpm2.strayLoad.phi. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.2041170629672706] 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.4230749980197288 0.435109905 0.38182182800000003 Calling exit ...