Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Translational.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.002327/0.002327, 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.002091/0.002091, allocations: 165 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.605/1.605, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.009439/0.009439, allocations: 1.19 MB / 262.2 MB, free: 11.74 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.Translational.SMPMBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking") translateModel(ElectricBraking.Examples.Translational.SMPMBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/1.896e-05, allocations: 4.281 kB / 332.4 MB, free: 17.98 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.SMPMBraking): time 0.005911/0.00593, allocations: 5.885 MB / 338.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003277/0.009206, allocations: 1.97 MB / 340.2 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.01022, allocations: 47.69 kB / 340.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.01145, allocations: 381.2 kB / 340.7 MB, free: 9.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001393/0.01285, allocations: 492.6 kB / 341.1 MB, free: 9.176 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005155/0.01336, allocations: 223.7 kB / 341.4 MB, free: 8.957 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002586/0.01595, allocations: 2.09 MB / 343.4 MB, free: 6.859 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008764/0.01682, allocations: 398.4 kB / 343.8 MB, free: 6.441 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00177/0.01859, allocations: 1.076 MB / 344.9 MB, free: 5.363 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.01974, allocations: 0.7405 MB / 345.7 MB, free: 4.621 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000276/0.02002, allocations: 112 kB / 345.8 MB, free: 4.512 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007366/0.02076, allocations: 223.6 kB / 346 MB, free: 4.293 MB / 266.7 MB Notification: Performance of combineBinaries: time 0.001392/0.02215, allocations: 2.036 MB / 348 MB, free: 2.246 MB / 266.7 MB Notification: Performance of replaceArrayConstructors: time 0.000814/0.02296, allocations: 1.222 MB / 349.2 MB, free: 1.016 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003089/0.02327, allocations: 92 kB / 349.3 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.0001871/0.02346, allocations: 35.86 kB / 349.4 MB, free: 0.8906 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 394 (199) * Number of variables: 394 (193) Notification: Performance of [SIM] Bindings: time 0.00842/0.03188, allocations: 6.132 MB / 355.5 MB, free: 10.56 MB / 282.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.001271/0.03315, allocations: 0.7671 MB / 356.3 MB, free: 9.77 MB / 282.7 MB Notification: Performance of [SIM] Early Inline: time 0.005562/0.03871, allocations: 4.456 MB / 360.7 MB, free: 5.27 MB / 282.7 MB Notification: Performance of [SIM] Simplify 1: time 0.0008298/0.03954, allocations: 411.9 kB / 361.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of [SIM] Alias: time 0.007712/0.04725, allocations: 4.705 MB / 365.8 MB, free: 15.79 MB / 298.7 MB Notification: Performance of [SIM] Simplify 2: time 0.0005868/0.04784, allocations: 311.9 kB / 366.1 MB, free: 15.46 MB / 298.7 MB Notification: Performance of [SIM] Remove Stream: time 0.0003479/0.04819, allocations: 240 kB / 366.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of [SIM] Detect States: time 0.001131/0.04932, allocations: 0.7653 MB / 367.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of [SIM] Events: time 0.0003917/0.04971, allocations: 275.8 kB / 367.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of [SIM] Partitioning: time 0.001479/0.05119, allocations: 0.9728 MB / 368.4 MB, free: 13.05 MB / 298.7 MB Notification: Performance of [SIM] Causalize: time 0.0115/0.06269, allocations: 6.908 MB / 375.3 MB, free: 5.875 MB / 298.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003751/0.06644, allocations: 3.082 MB / 378.4 MB, free: 2.789 MB / 298.7 MB Notification: Performance of [INI] Simplify: time 0.003471/0.06991, allocations: 1.775 MB / 380.1 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of [INI] Inline: time 0.007276/0.07719, allocations: 5.79 MB / 385.9 MB, free: 11.14 MB / 314.7 MB Notification: Performance of [INI] Partitioning: time 0.0002185/0.07741, allocations: 56 kB / 386 MB, free: 11.07 MB / 314.7 MB Notification: Performance of [INI] Cleanup: time 0.00087/0.07828, allocations: 0.7376 MB / 386.7 MB, free: 10.33 MB / 314.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_426) Notification: Performance of [INI] Causalize: time 0.008177/0.08645, allocations: 4.667 MB / 391.4 MB, free: 5.453 MB / 314.7 MB Notification: Performance of [INI] Tearing: time 0.004086/0.09054, allocations: 2.615 MB / 394 MB, free: 2.871 MB / 314.7 MB Notification: Performance of [SIM] Initialization: time 1.913e-06/0.09054, allocations: 0 / 394 MB, free: 2.871 MB / 314.7 MB Notification: Performance of [SIM] Remove Dummies: time 1.814e-05/0.09056, allocations: 9 kB / 394 MB, free: 2.863 MB / 314.7 MB Notification: Performance of [SIM] Tearing: time 0.002842/0.0934, allocations: 1.722 MB / 395.7 MB, free: 1.16 MB / 314.7 MB Notification: Performance of [SIM] Categorize: time 1.985e-05/0.09342, allocations: 11.94 kB / 395.7 MB, free: 1.148 MB / 314.7 MB Notification: Performance of [SIM] Solve: time 0.003202/0.09662, allocations: 1.752 MB / 397.5 MB, free: 15.39 MB / 330.7 MB Notification: Performance of [SIM] Jacobian: time 0.01038/0.107, allocations: 6.181 MB / 403.7 MB, free: 9.082 MB / 330.7 MB Notification: Performance of [SIM] Minimize Homotopy System: time 1.453e-06/0.107, allocations: 4 kB / 403.7 MB, free: 9.078 MB / 330.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) {smpm.phi, integrator.y, heatCapacitor.T, smpm.inertiaRotor.w, $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: ........... 58 (scalar:51, array:7, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 46 (resizable: 46, generic: 0, 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: ........... 62 (scalar:58, 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 8.778e-05/0.1071, allocations: 50 kB / 403.7 MB, free: 9.035 MB / 330.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.659049595706165]