Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001621/0.001621, allocations: 99.64 kB / 21.25 MB, free: 424 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002031/0.002031, allocations: 214.5 kB / 24.55 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.573/1.573, allocations: 230.5 MB / 258.2 MB, free: 7.719 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.234e-05/3.234e-05, allocations: 2.281 kB / 379.1 MB, free: 2.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled): time 0.2696/0.2696, allocations: 7.251 MB / 386.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006545/0.2762, allocations: 2.566 MB / 388.9 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001609/0.2778, allocations: 35.12 kB / 388.9 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001801/0.2796, allocations: 0.5061 MB / 389.4 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001794/0.2814, allocations: 462.3 kB / 389.9 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.2824, allocations: 366.1 kB / 390.2 MB, free: 8.621 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002735/0.2852, allocations: 1.838 MB / 392.1 MB, free: 7.676 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008069/0.286, allocations: 343.2 kB / 392.4 MB, free: 7.473 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/0.2874, allocations: 0.6514 MB / 393 MB, free: 7.133 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007782/0.2882, allocations: 0.5205 MB / 393.6 MB, free: 6.875 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002026/0.2884, allocations: 129.6 kB / 393.7 MB, free: 6.871 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.2895, allocations: 365.8 kB / 394 MB, free: 6.801 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001943/0.2914, allocations: 2.635 MB / 396.7 MB, free: 4.992 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001085/0.2925, allocations: 1.659 MB / 398.3 MB, free: 3.824 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003283/0.2928, allocations: 113.9 kB / 398.5 MB, free: 3.824 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0003681/0.2932, allocations: 48.92 kB / 398.5 MB, free: 3.805 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.007756/0.3009, allocations: 6.855 MB / 405.4 MB, free: 15.11 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001115/0.3021, allocations: 0.6371 MB / 406 MB, free: 14.7 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.00388/0.3059, allocations: 2.943 MB / 408.9 MB, free: 12.67 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001058/0.307, allocations: 447.1 kB / 409.4 MB, free: 12.39 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.009451/0.3164, allocations: 5.393 MB / 414.8 MB, free: 8.434 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0004987/0.3169, allocations: 270.4 kB / 415 MB, free: 8.117 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000265/0.3172, allocations: 156.2 kB / 415.2 MB, free: 7.938 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0005928/0.3178, allocations: 441 kB / 415.6 MB, free: 7.453 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0002223/0.318, allocations: 103.7 kB / 415.7 MB, free: 7.352 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.000814/0.3188, allocations: 0.6054 MB / 416.3 MB, free: 6.695 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.7246890959795564] Failed to read output from testmodel.py, exit status != 0: ['time', 'PID.I.y', 'dcpm.la.i', 'firstOrder.y', 'loadInertia.phi', 'loadInertia.w'] 0.33181177196092904 0.34717440499999996 0.050820841000000005 Calling exit ...