Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.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.001958/0.001958, allocations: 103.6 kB / 21.25 MB, free: 0.5664 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.002366/0.002366, allocations: 211 kB / 24.55 MB, free: 3.824 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.586/1.586, allocations: 230.6 MB / 258.3 MB, free: 7.75 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_Drive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|coupling.w|coupling.tau|multiSensor.i|multiSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|coupling.w|coupling.tau|multiSensor.i|multiSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.956e-05/2.956e-05, allocations: 2.281 kB / 379.1 MB, free: 2.477 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive): time 0.2146/0.2147, allocations: 20.24 MB / 399.3 MB, free: 2.727 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01963/0.2343, allocations: 6.72 MB / 406 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008107/0.2424, allocations: 124.2 kB / 406.1 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003891/0.2463, allocations: 0.7948 MB / 406.9 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005572/0.2519, allocations: 0.948 MB / 407.9 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002844/0.2547, allocations: 0.8165 MB / 408.7 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007818/0.2625, allocations: 4.277 MB / 413 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00254/0.2651, allocations: 1.051 MB / 414 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003259/0.2683, allocations: 1.477 MB / 415.5 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002538/0.2709, allocations: 1.21 MB / 416.7 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005033/0.2714, allocations: 360.9 kB / 417.1 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002277/0.2737, allocations: 0.5995 MB / 417.7 MB, free: 6.547 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.005776/0.2794, allocations: 6.106 MB / 423.8 MB, free: 464 kB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.003473/0.2829, allocations: 3.756 MB / 427.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009005/0.2838, allocations: 276 kB / 427.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0009073/0.2847, allocations: 111.5 kB / 427.9 MB, free: 12.27 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 671 (671) * Number of variables: 671 (671) Notification: Performance of [SIM] Bindings: time 0.0172/0.3019, allocations: 15.39 MB / 443.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001939/0.3038, allocations: 1.577 MB / 444.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.008962/0.3128, allocations: 8.167 MB / 453 MB, free: 2.543 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0026/0.3154, allocations: 1.285 MB / 454.3 MB, free: 1.117 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.02381/0.3392, allocations: 14.89 MB / 469.2 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001135/0.3403, allocations: 0.6074 MB / 469.8 MB, free: 132 kB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000453/0.3408, allocations: 332 kB / 470.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.00112/0.3419, allocations: 0.8777 MB / 471 MB, free: 14.82 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0003884/0.3423, allocations: 223.4 kB / 471.2 MB, free: 14.6 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.001781/0.3441, allocations: 1.355 MB / 472.6 MB, free: 13.17 MB / 382.1 MB Error: Internal error NBVariable.makeDummyState failed for $DER.dcpm2.inertiaRotor.w. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.753773069998715] Failed to read output from testmodel.py, exit status != 0: ['time', 'coupling.w', 'coupling.tau', 'multiSensor.i', 'multiSensor.v'] 0.3672989170299843 0.38300630900000004 0.094920078 Calling exit ...