Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 96.03 kB / 21.25 MB, free: 428 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 186.2 kB / 24.53 MB, free: 3.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 225.7 MB / 253.4 MB, free: 12.77 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.13e-05/3.13e-05, allocations: 2.281 kB / 371.7 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled): time 0.01382/0.01385, allocations: 7.233 MB / 379 MB, free: 1.863 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2747/0.2885, allocations: 2.522 MB / 381.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001451/0.29, allocations: 32.84 kB / 381.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002031/0.292, allocations: 0.5175 MB / 382 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002076/0.2941, allocations: 467.6 kB / 382.5 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.2951, allocations: 361.8 kB / 382.8 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003174/0.2983, allocations: 1.846 MB / 384.7 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008795/0.2992, allocations: 341.9 kB / 385 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.3006, allocations: 0.64 MB / 385.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008231/0.3014, allocations: 0.5271 MB / 386.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002003/0.3016, allocations: 125.9 kB / 386.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.3028, allocations: 363.4 kB / 386.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002147/0.3049, allocations: 2.641 MB / 389.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001167/0.3061, allocations: 1.662 MB / 391 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003471/0.3064, allocations: 112.8 kB / 391.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0003497/0.3068, allocations: 48.58 kB / 391.1 MB, free: 10.15 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.006153/0.3129, allocations: 6.847 MB / 398 MB, free: 5.645 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0009504/0.3139, allocations: 0.629 MB / 398.6 MB, free: 5.254 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.002935/0.3168, allocations: 2.93 MB / 401.5 MB, free: 3.316 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001057/0.3179, allocations: 463.1 kB / 402 MB, free: 3.098 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.008624/0.3265, allocations: 5.382 MB / 407.4 MB, free: 180 kB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0004697/0.327, allocations: 277.7 kB / 407.6 MB, free: 15.97 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001906/0.3272, allocations: 159 kB / 407.8 MB, free: 15.83 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.000644/0.3278, allocations: 434.7 kB / 408.2 MB, free: 15.43 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0002156/0.328, allocations: 92.91 kB / 408.3 MB, free: 15.37 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.0008115/0.3288, allocations: 0.59 MB / 408.9 MB, free: 14.95 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.7788402310106903] Failed to read output from testmodel.py, exit status != 0: ['time', 'PID.I.y', 'dcpm.la.i', 'firstOrder.y', 'loadInertia.phi', 'loadInertia.w'] 0.34180364600615576 0.35598392500000003 0.046055014000000005 Calling exit ...