Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.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.001603/0.001603, allocations: 99.59 kB / 21.2 MB, free: 0.6406 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.001925/0.001925, allocations: 215 kB / 24.49 MB, free: 3.93 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.612/1.612, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage") translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.369e-05, allocations: 2.281 kB / 378.9 MB, free: 2.531 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003186/0.00321, allocations: 1.599 MB / 380.5 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000886/0.004096, allocations: 474.8 kB / 381 MB, free: 472 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7e-05/0.004166, allocations: 3.938 kB / 381 MB, free: 468 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.123e-05/0.004207, allocations: 3.938 kB / 381 MB, free: 464 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.867e-05/0.004306, allocations: 15.81 kB / 381 MB, free: 448 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.004513, allocations: 31.89 kB / 381 MB, free: 416 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.004645, allocations: 83.81 kB / 381.1 MB, free: 332 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.004822, allocations: 48.02 kB / 381.2 MB, free: 280 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.004981, allocations: 35.91 kB / 381.2 MB, free: 244 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.355e-05/0.005045, allocations: 31.78 kB / 381.2 MB, free: 212 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.005063, allocations: 8 kB / 381.2 MB, free: 204 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.435e-05/0.005108, allocations: 12 kB / 381.2 MB, free: 192 kB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001277/0.005235, allocations: 134.4 kB / 381.4 MB, free: 56 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.1592/0.1644, allocations: 85.17 kB / 381.5 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.632e-05/0.1645, allocations: 6.938 kB / 381.5 MB, free: 13.19 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.517e-05/0.1645, allocations: 11.34 kB / 381.5 MB, free: 13.19 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: 14 (14) * Number of variables: 14 (14) Notification: Performance of [SIM] Bindings: time 0.0005013/0.165, allocations: 441.8 kB / 381.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 6.791e-05/0.1651, allocations: 51.66 kB / 382 MB, free: 12.89 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0002218/0.1653, allocations: 216 kB / 382.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 7.184e-05/0.1654, allocations: 88.59 kB / 382.3 MB, free: 12.74 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0005657/0.166, allocations: 365.9 kB / 382.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 4.98e-05/0.166, allocations: 71.12 kB / 382.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 2.768e-05/0.166, allocations: 44.59 kB / 382.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 7.099e-05/0.1661, allocations: 98.61 kB / 382.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of [SIM] Events: time 9.908e-05/0.1662, allocations: 47.72 kB / 382.9 MB, free: 12.28 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001142/0.1663, allocations: 105.7 kB / 383 MB, free: 12.21 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0002261/0.1666, allocations: 170.5 kB / 383.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001058/0.1667, allocations: 123.3 kB / 383.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0001246/0.1668, allocations: 130.5 kB / 383.4 MB, free: 12 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001492/0.1669, allocations: 191.6 kB / 383.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.246e-05/0.1669, allocations: 11.12 kB / 383.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 2.745e-05/0.167, allocations: 26.2 kB / 383.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0002167/0.1672, allocations: 148.9 kB / 383.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.243e-05/0.1672, allocations: 9.25 kB / 383.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.91e-07/0.1672, allocations: 0 / 383.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.629e-06/0.1672, allocations: 1.125 kB / 383.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 3.697e-06/0.1672, allocations: 9.625 kB / 383.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 8.977e-06/0.1672, allocations: 5.219 kB / 383.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001061/0.1673, allocations: 61.89 kB / 383.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 7.664e-06/0.1673, allocations: 3.719 kB / 383.8 MB, free: 11.95 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 4 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 8 (8) {integerStep.y, booleanStep.y, controlBus.subControlBus.myBooleanSignal, $SEV_0, $TEV_3, $TEV_2, $TEV_1, $TEV_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: ........... 10 (scalar:10, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 10 (scalar:10, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 9.84e-05/0.1674, allocations: 23.83 kB / 383.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of SimCode: time 0.0005164/0.1679, allocations: 291.8 kB / 384.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of Templates: time 0.00298/0.1709, allocations: 0.5946 MB / 384.8 MB, free: 11.71 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.596972788218409]