Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBraking.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.002439/0.002439, allocations: 77.22 kB / 20.67 MB, free: 3.832 MB / 18.57 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.003049/0.003049, allocations: 169 kB / 24.07 MB, free: 444 kB / 18.57 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.708/1.708, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo): time 0.00966/0.00966, allocations: 1.192 MB / 262.2 MB, free: 11.72 MB / 250.7 MB " [Timeout remaining time 180] Using package ElectricBraking with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo) 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(ElectricBraking.Examples.Rotational.SMPMBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBraking") translateModel(ElectricBraking.Examples.Rotational.SMPMBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBraking") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.185e-05/3.185e-05, allocations: 8.781 kB / 332.4 MB, free: 3.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.SMPMBraking): time 0.01229/0.01232, allocations: 5.519 MB / 337.9 MB, free: 13.51 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005369/0.01769, allocations: 1.919 MB / 339.8 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008874/0.01858, allocations: 43.69 kB / 339.9 MB, free: 11.54 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001518/0.02009, allocations: 369.7 kB / 340.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.02177, allocations: 468.9 kB / 340.7 MB, free: 10.72 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006694/0.02244, allocations: 207.7 kB / 340.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002826/0.02526, allocations: 2.005 MB / 342.9 MB, free: 8.504 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008763/0.02614, allocations: 385.2 kB / 343.3 MB, free: 8.102 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002095/0.02824, allocations: 1.029 MB / 344.3 MB, free: 7.07 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.02961, allocations: 0.7288 MB / 345 MB, free: 6.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000261/0.02987, allocations: 104 kB / 345.1 MB, free: 6.238 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007013/0.03057, allocations: 219.6 kB / 345.3 MB, free: 6.023 MB / 314.7 MB Notification: Performance of combineBinaries: time 0.002429/0.033, allocations: 1.928 MB / 347.3 MB, free: 4.086 MB / 314.7 MB Notification: Performance of replaceArrayConstructors: time 0.001416/0.03441, allocations: 1.157 MB / 348.4 MB, free: 2.922 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002829/0.0347, allocations: 80 kB / 348.5 MB, free: 2.844 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.0001766/0.03487, allocations: 35.91 kB / 348.5 MB, free: 2.809 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 378 (183) * Number of variables: 378 (177) Notification: Performance of [SIM] Bindings: time 0.00804/0.04291, allocations: 5.886 MB / 354.4 MB, free: 12.73 MB / 330.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.001579/0.04449, allocations: 0.7281 MB / 355.1 MB, free: 11.98 MB / 330.7 MB Notification: Performance of [SIM] Early Inline: time 0.005404/0.04989, allocations: 4.203 MB / 359.3 MB, free: 7.73 MB / 330.7 MB Notification: Performance of [SIM] Simplify 1: time 0.0006674/0.05056, allocations: 395.9 kB / 359.7 MB, free: 7.305 MB / 330.7 MB Notification: Performance of [SIM] Alias: time 0.006713/0.05728, allocations: 4.301 MB / 364 MB, free: 2.695 MB / 330.7 MB Notification: Performance of [SIM] Simplify 2: time 0.0005101/0.05779, allocations: 299.9 kB / 364.3 MB, free: 2.375 MB / 330.7 MB Notification: Performance of [SIM] Remove Stream: time 0.0003121/0.0581, allocations: 228.1 kB / 364.5 MB, free: 2.125 MB / 330.7 MB Notification: Performance of [SIM] Detect States: time 0.001019/0.05912, allocations: 0.7607 MB / 365.3 MB, free: 1.293 MB / 330.7 MB Notification: Performance of [SIM] Events: time 0.0003499/0.05947, allocations: 259.8 kB / 365.6 MB, free: 1.039 MB / 330.7 MB Notification: Performance of [SIM] Partitioning: time 0.001433/0.0609, allocations: 0.9647 MB / 366.5 MB, free: 12 kB / 330.7 MB Notification: Performance of [SIM] Causalize: time 0.007951/0.06885, allocations: 5.068 MB / 371.6 MB, free: 10.78 MB / 346.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003757/0.07261, allocations: 3.024 MB / 374.6 MB, free: 7.754 MB / 346.7 MB Notification: Performance of [INI] Simplify: time 0.003924/0.07653, allocations: 1.738 MB / 376.4 MB, free: 5.949 MB / 346.7 MB Notification: Performance of [INI] Inline: time 0.006592/0.08313, allocations: 5.696 MB / 382.1 MB, free: 244 kB / 346.7 MB Notification: Performance of [INI] Partitioning: time 0.000143/0.08327, allocations: 60 kB / 382.1 MB, free: 168 kB / 346.7 MB Notification: Performance of [INI] Cleanup: time 0.0008024/0.08407, allocations: 0.7298 MB / 382.8 MB, free: 15.43 MB / 362.7 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) smpm.id = $START.smpm.id; ($RES_SRT_401) Notification: Performance of [INI] Causalize: time 0.007922/0.09199, allocations: 4.636 MB / 387.5 MB, free: 10.57 MB / 362.7 MB Notification: Performance of [INI] Tearing: time 0.003871/0.09586, allocations: 2.513 MB / 390 MB, free: 8.094 MB / 362.7 MB Notification: Performance of [SIM] Initialization: time 1.904e-06/0.09587, allocations: 0 / 390 MB, free: 8.094 MB / 362.7 MB Notification: Performance of [SIM] Remove Dummies: time 1.761e-05/0.09588, allocations: 1 kB / 390 MB, free: 8.094 MB / 362.7 MB Notification: Performance of [SIM] Tearing: time 0.002735/0.09862, allocations: 1.672 MB / 391.7 MB, free: 6.441 MB / 362.7 MB Notification: Performance of [SIM] Categorize: time 1.929e-05/0.09864, allocations: 8 kB / 391.7 MB, free: 6.434 MB / 362.7 MB Notification: Performance of [SIM] Solve: time 0.002939/0.1016, allocations: 1.693 MB / 393.4 MB, free: 4.738 MB / 362.7 MB Notification: Performance of [SIM] Jacobian: time 0.009962/0.1115, allocations: 5.998 MB / 399.4 MB, free: 14.52 MB / 378.7 MB Notification: Performance of [SIM] Minimize Homotopy System: time 2.124e-06/0.1115, allocations: 0 / 399.4 MB, free: 14.52 MB / 378.7 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 6 (5) {inertiaLoad.w, integrator.y, heatCapacitor.T, inertiaLoad.phi, $DUM_0} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 9 (3) {switch.idealClosingSwitch.off, booleanStep.y, $SEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 59 (scalar:51, array:8, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 46 (resizable: 44, generic: 2, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 1, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 64 (scalar:60, array:4, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 24 (resizable: 24, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 1, nonlinear:2) Notification: Performance of backend: time 9.653e-05/0.1116, allocations: 61.59 kB / 399.4 MB, free: 14.46 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFExpression.mo:2789:11-2789:111:writable] Error: Internal error NFExpression.toDAE got unknown expression '#EMPTY#' " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.7109000450000167]