Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001504/0.001504, allocations: 102.3 kB / 18.4 MB, free: 4.762 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.001637/0.001637, allocations: 188.3 kB / 19.34 MB, free: 3.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.636e-05/2.626e-05, allocations: 3.125 kB / 329.1 MB, free: 3.375 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003874/0.00391, allocations: 1.592 MB / 330.7 MB, free: 1.77 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.005081, allocations: 472.3 kB / 331.2 MB, free: 1.301 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.585e-05/0.005188, allocations: 4 kB / 331.2 MB, free: 1.297 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 4.91e-05/0.005244, allocations: 7.922 kB / 331.2 MB, free: 1.289 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.005351, allocations: 11.86 kB / 331.2 MB, free: 1.277 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.005556, allocations: 19.92 kB / 331.2 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.005698, allocations: 71.77 kB / 331.3 MB, free: 1.188 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002004/0.005905, allocations: 43.97 kB / 331.3 MB, free: 1.145 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.00605, allocations: 31.8 kB / 331.4 MB, free: 1.113 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.518e-05/0.006134, allocations: 31.84 kB / 331.4 MB, free: 1.082 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.006163, allocations: 4 kB / 331.4 MB, free: 1.078 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.423e-05/0.006182, allocations: 4 kB / 331.4 MB, free: 1.074 MB / 270.1 MB Notification: Performance of combineBinaries: time 0.000129/0.006315, allocations: 110.7 kB / 331.5 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of replaceArrayConstructors: time 4.911e-05/0.006372, allocations: 78.88 kB / 331.6 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.006405, allocations: 11.94 kB / 331.6 MB, free: 0.875 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.515e-05/0.006456, allocations: 4 kB / 331.6 MB, free: 0.8711 MB / 270.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.0005145/0.006975, allocations: 411.6 kB / 332 MB, free: 376 kB / 270.1 MB Notification: Performance of FunctionAlias: time 8.367e-05/0.007065, allocations: 23.92 kB / 332 MB, free: 352 kB / 270.1 MB Notification: Performance of Early Inline: time 0.0001914/0.007264, allocations: 184.2 kB / 332.2 MB, free: 140 kB / 270.1 MB Notification: Performance of simplify1: time 2.965e-05/0.0073, allocations: 11.98 kB / 332.2 MB, free: 128 kB / 270.1 MB Notification: Performance of Alias: time 0.0005935/0.007899, allocations: 389.9 kB / 332.6 MB, free: 15.67 MB / 286.1 MB Notification: Performance of simplify2: time 1.946e-05/0.007929, allocations: 11.98 kB / 332.6 MB, free: 15.66 MB / 286.1 MB Notification: Performance of Detect States: time 7.401e-05/0.008008, allocations: 55.06 kB / 332.7 MB, free: 15.59 MB / 286.1 MB Notification: Performance of Events: time 0.0001002/0.008115, allocations: 39.92 kB / 332.7 MB, free: 15.55 MB / 286.1 MB Notification: Performance of Partitioning: time 9.333e-05/0.008215, allocations: 80.48 kB / 332.8 MB, free: 15.44 MB / 286.1 MB Notification: Performance of Causalize: time 0.0002557/0.008479, allocations: 224.7 kB / 333 MB, free: 15.19 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001413/0.008629, allocations: 148.6 kB / 333.2 MB, free: 15.02 MB / 286.1 MB Notification: Performance of Inline: time 0.0001955/0.008831, allocations: 208.3 kB / 333.4 MB, free: 14.78 MB / 286.1 MB Notification: Performance of Partitioning: time 1.943e-05/0.008856, allocations: 16.12 kB / 333.4 MB, free: 14.76 MB / 286.1 MB Notification: Performance of Cleanup: time 1.414e-05/0.008875, allocations: 8 kB / 333.4 MB, free: 14.75 MB / 286.1 MB Notification: Performance of Causalize: time 0.0002428/0.009125, allocations: 191.9 kB / 333.6 MB, free: 14.55 MB / 286.1 MB Notification: Performance of Tearing: time 1.145e-05/0.009145, allocations: 0 / 333.6 MB, free: 14.55 MB / 286.1 MB Notification: Performance of Initialization: time 5.71e-07/0.009152, allocations: 0.5625 kB / 333.6 MB, free: 14.55 MB / 286.1 MB Notification: Performance of Tearing: time 7.615e-06/0.009164, allocations: 4 kB / 333.6 MB, free: 14.55 MB / 286.1 MB Notification: Performance of Categorize: time 9.658e-06/0.009178, allocations: 0 / 333.6 MB, free: 14.55 MB / 286.1 MB Notification: Performance of Solve: time 6.359e-05/0.009246, allocations: 27.92 kB / 333.6 MB, free: 14.52 MB / 286.1 MB Notification: Performance of Jacobian: time 3.807e-06/0.009255, allocations: 0 / 333.6 MB, free: 14.52 MB / 286.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.409e-05/0.009305, allocations: 32.02 kB / 333.6 MB, free: 14.49 MB / 286.1 MB Notification: Performance of SimCode: time 0.0006591/0.009969, allocations: 0.8921 MB / 334.5 MB, free: 13.58 MB / 286.1 MB Notification: Performance of Templates: time 0.002617/0.0126, allocations: 492.7 kB / 335 MB, free: 13.1 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches