Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001699/0.001699, allocations: 111.4 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.001734/0.001734, allocations: 213.5 kB / 25.3 MB, free: 2.895 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.737/1.737, allocations: 207.7 MB / 236.2 MB, free: 9.77 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_CurrentControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|PID.I.y|dcpm.la.i|firstOrder.y|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.317e-05, allocations: 2.281 kB / 348.5 MB, free: 9.359 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled): time 0.01097/0.01099, allocations: 7.216 MB / 355.7 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006924/0.01792, allocations: 2.572 MB / 358.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.01899, allocations: 35.81 kB / 358.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001776/0.02076, allocations: 0.5161 MB / 358.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.02217, allocations: 468.5 kB / 359.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009099/0.02308, allocations: 359.5 kB / 359.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002152/0.02523, allocations: 1.846 MB / 361.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007607/0.02599, allocations: 344.4 kB / 361.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009607/0.02695, allocations: 0.646 MB / 362.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006904/0.02764, allocations: 0.5245 MB / 363 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001682/0.02781, allocations: 124 kB / 363.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008919/0.0287, allocations: 359.5 kB / 363.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002586/0.03129, allocations: 2.65 MB / 366.2 MB, free: 7.617 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001278/0.03257, allocations: 1.674 MB / 367.8 MB, free: 5.922 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002105/0.03278, allocations: 112 kB / 367.9 MB, free: 5.812 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002808/0.03306, allocations: 47.78 kB / 368 MB, free: 5.766 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.007124/0.04018, allocations: 6.856 MB / 374.8 MB, free: 14.69 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0007074/0.04089, allocations: 0.6047 MB / 375.4 MB, free: 14.07 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.003306/0.04419, allocations: 2.932 MB / 378.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0009713/0.04517, allocations: 451.5 kB / 378.8 MB, free: 10.58 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.009088/0.05425, allocations: 5.378 MB / 384.2 MB, free: 4.59 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0005141/0.05477, allocations: 285.4 kB / 384.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002062/0.05497, allocations: 156.2 kB / 384.6 MB, free: 4.074 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0006184/0.05559, allocations: 421.5 kB / 385 MB, free: 3.605 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0002002/0.05579, allocations: 96.91 kB / 385.1 MB, free: 3.512 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.0009359/0.05673, allocations: 0.5857 MB / 385.7 MB, free: 2.883 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.927073948958423] Failed to read output from testmodel.py, exit status != 0: ['time', 'PID.I.y', 'dcpm.la.i', 'firstOrder.y', 'loadInertia.phi', 'loadInertia.w'] 0.31518457899801433 0.33089237200000005 0.29485339 Calling exit ...