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.001199/0.001199, allocations: 108 kB / 18.41 MB, free: 4.664 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.001124/0.001124, allocations: 194.7 kB / 19.35 MB, free: 3.742 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.393/1.393, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.716e-05/2.717e-05, allocations: 2.281 kB / 329.2 MB, free: 3.363 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002315/0.002351, allocations: 1.586 MB / 330.7 MB, free: 1.766 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007411/0.003104, allocations: 468.3 kB / 331.2 MB, free: 1.301 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.204e-05/0.003168, allocations: 4 kB / 331.2 MB, free: 1.297 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.838e-05/0.003212, allocations: 7.938 kB / 331.2 MB, free: 1.289 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.065e-05/0.003288, allocations: 7.875 kB / 331.2 MB, free: 1.281 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001427/0.003436, allocations: 27.91 kB / 331.2 MB, free: 1.254 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.003557, allocations: 67.77 kB / 331.3 MB, free: 1.188 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.003742, allocations: 47.95 kB / 331.4 MB, free: 1.141 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.707e-05/0.003836, allocations: 31.8 kB / 331.4 MB, free: 1.109 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.813e-05/0.003902, allocations: 27.86 kB / 331.4 MB, free: 1.082 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.003928, allocations: 4 kB / 331.4 MB, free: 1.078 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.156e-05/0.003945, allocations: 8 kB / 331.4 MB, free: 1.07 MB / 270.1 MB Notification: Performance of combineBinaries: time 9.189e-05/0.004042, allocations: 110.6 kB / 331.5 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of replaceArrayConstructors: time 4.163e-05/0.004089, allocations: 70.88 kB / 331.6 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 1.664e-05/0.004111, allocations: 11.94 kB / 331.6 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.488e-05/0.00414, allocations: 8 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.0004368/0.004581, allocations: 419.5 kB / 332 MB, free: 368 kB / 270.1 MB Notification: Performance of FunctionAlias: time 6.845e-05/0.004656, allocations: 27.92 kB / 332.1 MB, free: 340 kB / 270.1 MB Notification: Performance of Early Inline: time 0.0001632/0.004826, allocations: 180.3 kB / 332.2 MB, free: 132 kB / 270.1 MB Notification: Performance of simplify1: time 2.188e-05/0.004853, allocations: 11.98 kB / 332.2 MB, free: 120 kB / 270.1 MB Notification: Performance of Alias: time 0.000502/0.005361, allocations: 385.9 kB / 332.6 MB, free: 15.66 MB / 286.1 MB Notification: Performance of simplify2: time 1.082e-05/0.005381, allocations: 8 kB / 332.6 MB, free: 15.66 MB / 286.1 MB Notification: Performance of Events: time 7.351e-05/0.005461, allocations: 51.77 kB / 332.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of Detect States: time 0.0001056/0.005574, allocations: 60.17 kB / 332.7 MB, free: 15.53 MB / 286.1 MB Notification: Performance of Partitioning: time 8.14e-05/0.005661, allocations: 80.48 kB / 332.8 MB, free: 15.42 MB / 286.1 MB Notification: Performance of Causalize: time 0.0002323/0.005899, allocations: 208.7 kB / 333 MB, free: 15.19 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001374/0.006045, allocations: 160.4 kB / 333.2 MB, free: 15 MB / 286.1 MB Notification: Performance of Inline: time 0.0001806/0.006232, allocations: 200.5 kB / 333.4 MB, free: 14.77 MB / 286.1 MB Notification: Performance of Partitioning: time 1.842e-05/0.006256, allocations: 20.11 kB / 333.4 MB, free: 14.75 MB / 286.1 MB Notification: Performance of Cleanup: time 1.26e-05/0.006274, allocations: 8 kB / 333.4 MB, free: 14.74 MB / 286.1 MB Notification: Performance of Causalize: time 0.0002205/0.006499, allocations: 192.1 kB / 333.6 MB, free: 14.54 MB / 286.1 MB Notification: Performance of Tearing: time 5.109e-06/0.006513, allocations: 4 kB / 333.6 MB, free: 14.54 MB / 286.1 MB Notification: Performance of Initialization: time 2.91e-07/0.006518, allocations: 0 / 333.6 MB, free: 14.54 MB / 286.1 MB Notification: Performance of Tearing: time 2.845e-06/0.006526, allocations: 4.281 kB / 333.6 MB, free: 14.54 MB / 286.1 MB Notification: Performance of Categorize: time 8.326e-06/0.006539, allocations: 0 / 333.6 MB, free: 14.54 MB / 286.1 MB Notification: Performance of Solve: time 6.012e-05/0.006603, allocations: 31.91 kB / 333.6 MB, free: 14.5 MB / 286.1 MB Notification: Performance of Jacobian: time 2.595e-06/0.006614, allocations: 3.938 kB / 333.6 MB, free: 14.5 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 3.528e-05/0.006654, allocations: 24.14 kB / 333.7 MB, free: 14.48 MB / 286.1 MB Notification: Performance of SimCode: time 0.0005759/0.007235, allocations: 0.8725 MB / 334.5 MB, free: 13.59 MB / 286.1 MB Notification: Performance of Templates: time 0.002383/0.009628, allocations: 0.5045 MB / 335 MB, free: 13.08 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