Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001149/0.001149, allocations: 114.5 kB / 18.41 MB, free: 4.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001207/0.001207, allocations: 212.6 kB / 19.36 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.212/1.212, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.162e-05, allocations: 3.969 kB / 308.3 MB, free: 15.97 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002504/0.002541, allocations: 1.613 MB / 309.9 MB, free: 14.36 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007464/0.0033, allocations: 496.6 kB / 310.4 MB, free: 13.88 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.781e-05/0.00337, allocations: 8.469 kB / 310.4 MB, free: 13.87 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 3.095e-05/0.003408, allocations: 5.031 kB / 310.4 MB, free: 13.86 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 6.394e-05/0.003477, allocations: 15.84 kB / 310.4 MB, free: 13.85 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.003663, allocations: 32.62 kB / 310.4 MB, free: 13.82 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.003792, allocations: 71.77 kB / 310.5 MB, free: 13.75 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.003944, allocations: 52.12 kB / 310.6 MB, free: 13.69 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.004068, allocations: 31.92 kB / 310.6 MB, free: 13.66 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.93e-05/0.004125, allocations: 31.84 kB / 310.6 MB, free: 13.63 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.004144, allocations: 7.938 kB / 310.6 MB, free: 13.62 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.001e-05/0.004188, allocations: 8 kB / 310.6 MB, free: 13.61 MB / 254.1 MB Notification: Performance of combineBinaries: time 7.935e-05/0.004275, allocations: 114.6 kB / 310.8 MB, free: 13.5 MB / 254.1 MB Notification: Performance of replaceArrayConstructors: time 3.747e-05/0.004318, allocations: 70.88 kB / 310.8 MB, free: 13.43 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 1.544e-05/0.004338, allocations: 11.94 kB / 310.8 MB, free: 13.42 MB / 254.1 MB Notification: Performance of FrontEnd: time 1.677e-05/0.004359, allocations: 7.984 kB / 310.8 MB, free: 13.41 MB / 254.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.0004037/0.004767, allocations: 419.5 kB / 311.3 MB, free: 12.9 MB / 254.1 MB Notification: Performance of FunctionAlias: time 2.233e-05/0.004795, allocations: 15.98 kB / 311.3 MB, free: 12.88 MB / 254.1 MB Notification: Performance of Early Inline: time 0.0001841/0.004984, allocations: 204.2 kB / 311.5 MB, free: 12.66 MB / 254.1 MB Notification: Performance of simplify1: time 1.087e-05/0.005002, allocations: 7.984 kB / 311.5 MB, free: 12.65 MB / 254.1 MB Notification: Performance of Alias: time 0.0003971/0.005403, allocations: 350.3 kB / 311.8 MB, free: 12.23 MB / 254.1 MB Notification: Performance of simplify2: time 8.796e-06/0.005421, allocations: 4 kB / 311.8 MB, free: 12.23 MB / 254.1 MB Notification: Performance of Events: time 7.824e-05/0.005504, allocations: 47.83 kB / 311.9 MB, free: 12.18 MB / 254.1 MB Notification: Performance of Detect States: time 0.0001923/0.005705, allocations: 60.17 kB / 311.9 MB, free: 12.11 MB / 254.1 MB Notification: Performance of Partitioning: time 9.003e-05/0.005802, allocations: 80.42 kB / 312 MB, free: 12 MB / 254.1 MB Notification: Performance of Causalize: time 0.000248/0.006056, allocations: 273 kB / 312.3 MB, free: 11.7 MB / 254.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001157/0.00618, allocations: 140.3 kB / 312.4 MB, free: 11.54 MB / 254.1 MB Notification: Performance of Inline: time 0.0001774/0.006363, allocations: 229.1 kB / 312.6 MB, free: 11.28 MB / 254.1 MB Notification: Performance of Partitioning: time 1.498e-05/0.006385, allocations: 16.06 kB / 312.6 MB, free: 11.25 MB / 254.1 MB Notification: Performance of Cleanup: time 1.05e-05/0.0064, allocations: 8 kB / 312.7 MB, free: 11.25 MB / 254.1 MB Notification: Performance of Causalize: time 0.0002231/0.006628, allocations: 256.2 kB / 312.9 MB, free: 10.99 MB / 254.1 MB Notification: Performance of Tearing: time 5.4e-06/0.006642, allocations: 320 / 312.9 MB, free: 10.99 MB / 254.1 MB Notification: Performance of Initialization: time 3.01e-07/0.006649, allocations: 0 / 312.9 MB, free: 10.99 MB / 254.1 MB Notification: Performance of Tearing: time 9.72e-07/0.006654, allocations: 0 / 312.9 MB, free: 10.99 MB / 254.1 MB Notification: Performance of Categorize: time 7.013e-06/0.006665, allocations: 0 / 312.9 MB, free: 10.99 MB / 254.1 MB Notification: Performance of Solve: time 6.318e-05/0.006732, allocations: 35.91 kB / 312.9 MB, free: 10.95 MB / 254.1 MB Notification: Performance of Jacobian: time 3.576e-06/0.006741, allocations: 3.984 kB / 312.9 MB, free: 10.95 MB / 254.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: ........... 9 (scalar:9, 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: ........... 9 (scalar:9, 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.431e-05/0.00678, allocations: 25.38 kB / 313 MB, free: 10.93 MB / 254.1 MB Notification: Performance of SimCode: time 0.0005713/0.007356, allocations: 0.8913 MB / 313.9 MB, free: 10.02 MB / 254.1 MB Notification: Performance of Templates: time 0.002119/0.009486, allocations: 0.5132 MB / 314.4 MB, free: 9.508 MB / 254.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.BusUsage.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_trunk_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Blocks.Examples.BusUsage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches