Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic.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.001296/0.001296, 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.002297/0.002297, allocations: 221.1 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.549/1.549, allocations: 230.6 MB / 258.3 MB, free: 7.793 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_QuasiStatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm1.ia|dcpm1.tauElectrical|dcpm2.ia|dcpm2.tauElectrical|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm1.ia|dcpm1.tauElectrical|dcpm2.ia|dcpm2.tauElectrical|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.29e-05/3.29e-05, allocations: 5.656 kB / 378.9 MB, free: 2.504 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic): time 0.2085/0.2085, allocations: 10.23 MB / 389.2 MB, free: 9.141 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006663/0.2152, allocations: 3.105 MB / 392.3 MB, free: 7.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001558/0.2167, allocations: 39.12 kB / 392.3 MB, free: 7.172 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001748/0.2185, allocations: 0.6223 MB / 392.9 MB, free: 6.859 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002099/0.2206, allocations: 0.7243 MB / 393.7 MB, free: 6.332 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000934/0.2215, allocations: 405.2 kB / 394.1 MB, free: 6.074 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003093/0.2246, allocations: 2.711 MB / 396.8 MB, free: 4.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009876/0.2256, allocations: 0.5543 MB / 397.3 MB, free: 4.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001501/0.2271, allocations: 0.9385 MB / 398.3 MB, free: 3.836 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000919/0.228, allocations: 0.9207 MB / 399.2 MB, free: 3.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002419/0.2283, allocations: 196.9 kB / 399.4 MB, free: 3.316 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.2294, allocations: 444 kB / 399.8 MB, free: 3.246 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0027/0.2321, allocations: 3.904 MB / 403.7 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001969/0.234, allocations: 2.405 MB / 406.1 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005328/0.2346, allocations: 183 kB / 406.3 MB, free: 14.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0004462/0.235, allocations: 57.56 kB / 406.3 MB, free: 14.89 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: 392 (392) * Number of variables: 392 (392) Notification: Performance of [SIM] Bindings: time 0.01176/0.2468, allocations: 10.25 MB / 416.6 MB, free: 7.262 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.00126/0.248, allocations: 0.9782 MB / 417.6 MB, free: 6.25 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.005449/0.2535, allocations: 4.658 MB / 422.2 MB, free: 1.535 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001629/0.2551, allocations: 0.8299 MB / 423.1 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.01373/0.2688, allocations: 8.129 MB / 431.2 MB, free: 7.598 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0007186/0.2695, allocations: 411.2 kB / 431.6 MB, free: 7.137 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0003088/0.2699, allocations: 232.1 kB / 431.8 MB, free: 6.879 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.0008171/0.2707, allocations: 0.5932 MB / 432.4 MB, free: 6.227 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0002361/0.2709, allocations: 129.8 kB / 432.5 MB, free: 6.094 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.001069/0.272, allocations: 0.8449 MB / 433.4 MB, free: 5.191 MB / 334.1 MB Error: Internal error NBVariable.makeDummyState failed for $DER.loadInertia1.w. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.7012182995676994] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcpm1.ia', 'dcpm1.tauElectrical', 'dcpm2.ia', 'dcpm2.tauElectrical', 'loadInertia1.phi', 'loadInertia1.w', 'loadInertia2.phi', 'loadInertia2.w'] 0.2851345459930599 0.299002843 0.06119684400000001 Calling exit ...