Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage") translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 117.1 kB / 17.75 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 183.1 kB / 18.68 MB, free: 4.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/1.953e-05, allocations: 2.281 kB / 351.9 MB, free: 3.289 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.00241/0.002438, allocations: 1.585 MB / 353.5 MB, free: 1.691 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006358/0.003086, allocations: 418.9 kB / 353.9 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.855e-05/0.003145, allocations: 0 / 353.9 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.773e-05/0.00319, allocations: 7.922 kB / 353.9 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.404e-05/0.00328, allocations: 23.8 kB / 353.9 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001479/0.003439, allocations: 27.91 kB / 354 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.003547, allocations: 63.83 kB / 354 MB, free: 1.16 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.003725, allocations: 55.83 kB / 354.1 MB, free: 1.105 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.736e-05/0.003831, allocations: 27.92 kB / 354.1 MB, free: 1.078 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.982e-05/0.003898, allocations: 27.86 kB / 354.1 MB, free: 1.051 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.003922, allocations: 4 kB / 354.1 MB, free: 1.047 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.103e-05/0.003938, allocations: 4 kB / 354.1 MB, free: 1.043 MB / 286.1 MB Notification: Performance of combineBinaries: time 9.949e-05/0.004043, allocations: 110.7 kB / 354.3 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 4.74e-05/0.004096, allocations: 70.88 kB / 354.3 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.854e-05/0.004119, allocations: 11.94 kB / 354.3 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.405e-05/0.004147, allocations: 8 kB / 354.3 MB, free: 0.8438 MB / 286.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 Bindings: time 0.0004515/0.004603, allocations: 423.5 kB / 354.8 MB, free: 336 kB / 286.1 MB Notification: Performance of FunctionAlias: time 6.578e-05/0.004675, allocations: 27.95 kB / 354.8 MB, free: 308 kB / 286.1 MB Notification: Performance of Early Inline: time 0.0001665/0.004849, allocations: 180.3 kB / 355 MB, free: 100 kB / 286.1 MB Notification: Performance of simplify1: time 2.38e-05/0.004879, allocations: 15.97 kB / 355 MB, free: 84 kB / 286.1 MB Notification: Performance of Alias: time 0.0005385/0.005424, allocations: 389.8 kB / 355.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simplify2: time 1.02e-05/0.005447, allocations: 7.938 kB / 355.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of Events: time 8.071e-05/0.005534, allocations: 43.84 kB / 355.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of Detect States: time 9.44e-05/0.005637, allocations: 64.14 kB / 355.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of Partitioning: time 9.32e-05/0.005737, allocations: 80.48 kB / 355.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of Causalize: time 0.0002643/0.006007, allocations: 208.8 kB / 355.8 MB, free: 15.15 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001338/0.006149, allocations: 144.5 kB / 355.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of Inline: time 0.0002095/0.006364, allocations: 220.4 kB / 356.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of Partitioning: time 1.745e-05/0.006388, allocations: 12.12 kB / 356.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of Cleanup: time 1.363e-05/0.006407, allocations: 11.92 kB / 356.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of Causalize: time 0.0002219/0.006635, allocations: 184.2 kB / 356.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of Tearing: time 4.829e-06/0.006648, allocations: 0 / 356.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of Initialization: time 3.1e-07/0.006653, allocations: 288 / 356.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of Tearing: time 9.82e-07/0.006659, allocations: 4 kB / 356.3 MB, free: 14.51 MB / 302.1 MB Notification: Performance of Categorize: time 9.388e-06/0.006673, allocations: 0 / 356.3 MB, free: 14.51 MB / 302.1 MB Notification: Performance of Solve: time 6.395e-05/0.006743, allocations: 47.77 kB / 356.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of Jacobian: time 3.656e-06/0.006753, allocations: 0 / 356.4 MB, free: 14.46 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) {NOT YET AVAILABLE} * Number of discrete variables: ................. 7 (7) {integerStep.y, booleanStep.y, controlBus.subControlBus.myBooleanSignal, $TEV_3, $TEV_2, $TEV_1, $TEV_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 (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 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.145e-05/0.006798, allocations: 28.47 kB / 356.4 MB, free: 14.44 MB / 302.1 MB Notification: Performance of SimCode: time 0.0005663/0.007371, allocations: 0.8878 MB / 357.3 MB, free: 13.53 MB / 302.1 MB Notification: Performance of Templates: time 0.002482/0.009863, allocations: 0.4929 MB / 357.8 MB, free: 13.04 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches