Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.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.00177/0.00177, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.002193/0.002193, allocations: 210.2 kB / 24.49 MB, free: 3.965 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.503/1.503, allocations: 230.6 MB / 258.2 MB, free: 7.805 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_CurrentControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|PID.I.y|dcpm.la.i|firstOrder.y|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|PID.I.y|dcpm.la.i|firstOrder.y|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.637e-05, allocations: 2.281 kB / 378.9 MB, free: 2.496 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled): time 0.2129/0.2129, allocations: 7.244 MB / 386.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005504/0.2184, allocations: 2.566 MB / 388.8 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.2198, allocations: 30.97 kB / 388.8 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001919/0.2217, allocations: 0.5135 MB / 389.3 MB, free: 9.344 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001806/0.2235, allocations: 464.8 kB / 389.8 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009363/0.2245, allocations: 365.2 kB / 390.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002168/0.2267, allocations: 1.834 MB / 391.9 MB, free: 7.848 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006955/0.2273, allocations: 379.6 kB / 392.3 MB, free: 7.609 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.2284, allocations: 0.6438 MB / 393 MB, free: 7.277 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006225/0.229, allocations: 0.6102 MB / 393.6 MB, free: 6.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000176/0.2292, allocations: 123.7 kB / 393.7 MB, free: 6.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000938/0.2302, allocations: 374.9 kB / 394.1 MB, free: 6.852 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001698/0.2319, allocations: 2.636 MB / 396.7 MB, free: 5.043 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001016/0.2329, allocations: 1.658 MB / 398.4 MB, free: 3.875 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003716/0.2332, allocations: 119.3 kB / 398.5 MB, free: 3.871 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0003503/0.2336, allocations: 49.56 kB / 398.5 MB, free: 3.852 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: 247 (247) * Number of variables: 247 (247) Notification: Performance of [SIM] Bindings: time 0.006083/0.2397, allocations: 6.849 MB / 405.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0008779/0.2406, allocations: 0.626 MB / 406 MB, free: 14.76 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.003305/0.2439, allocations: 2.952 MB / 408.9 MB, free: 12.73 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001057/0.2449, allocations: 0.5118 MB / 409.5 MB, free: 12.38 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.008151/0.2531, allocations: 5.238 MB / 414.7 MB, free: 8.605 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0004771/0.2535, allocations: 304.8 kB / 415 MB, free: 8.262 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002007/0.2537, allocations: 160.1 kB / 415.1 MB, free: 8.078 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0005479/0.2543, allocations: 436.7 kB / 415.6 MB, free: 7.598 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0001767/0.2545, allocations: 101.2 kB / 415.7 MB, free: 7.504 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.0008039/0.2553, allocations: 0.6015 MB / 416.3 MB, free: 6.855 MB / 318.1 MB Error: Internal error NBVariable.makeDummyState failed for $DER.loadInertia.phi. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.6307745748199522] Failed to read output from testmodel.py, exit status != 0: ['time', 'PID.I.y', 'dcpm.la.i', 'firstOrder.y', 'loadInertia.phi', 'loadInertia.w'] 0.26641226606443524 0.280830087 0.044097371 Calling exit ...