Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Blocks.MuxDemux,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1|y2|y3|y4|y5|clock.y|mux5.y.1.|mux5.y.2.|mux5.y.3.|mux5.y.4.|mux5.y.5.|demux5.y.1.|demux5.y.2.|demux5.y.3.|demux5.y.4.|demux5.y.5.|mux3.y.1.|mux3.y.2.|mux3.y.3.|mux2.y.1.|mux2.y.2.|demux2.y.1.|demux2.y.2.|demux3.y.1.|demux3.y.2.|demux3.y.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux") translateModel(ModelicaTest.Blocks.MuxDemux,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1|y2|y3|y4|y5|clock.y|mux5.y.1.|mux5.y.2.|mux5.y.3.|mux5.y.4.|mux5.y.5.|demux5.y.1.|demux5.y.2.|demux5.y.3.|demux5.y.4.|demux5.y.5.|mux3.y.1.|mux3.y.2.|mux3.y.3.|mux2.y.1.|mux2.y.2.|demux2.y.1.|demux2.y.2.|demux3.y.1.|demux3.y.2.|demux3.y.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 110.8 kB / 18.47 MB, free: 4.473 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.001161/0.001161, allocations: 187.1 kB / 19.4 MB, free: 3.547 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.345/1.345, allocations: 222.9 MB / 243.1 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2009/0.2009, allocations: 44.2 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/2.846e-05, allocations: 2.281 kB / 471.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.003085/0.003122, allocations: 1.547 MB / 472.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002166/0.003353, allocations: 51.78 kB / 472.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.644e-05/0.003449, allocations: 0 / 472.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.003635, allocations: 23.84 kB / 472.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.819e-05/0.003671, allocations: 7.938 kB / 472.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001051/0.003799, allocations: 19.92 kB / 472.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.003968, allocations: 91.73 kB / 472.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003007/0.004277, allocations: 110.6 kB / 473 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.954e-05/0.004346, allocations: 35.86 kB / 473 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.25e-05/0.004415, allocations: 35.84 kB / 473.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.147e-05/0.004452, allocations: 8 kB / 473.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.48e-05/0.004482, allocations: 8 kB / 473.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0001568/0.004644, allocations: 114.6 kB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 6.239e-05/0.004711, allocations: 74.84 kB / 473.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.611e-05/0.004763, allocations: 19.94 kB / 473.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.791e-05/0.004826, allocations: 11.92 kB / 473.3 MB, free: 11.08 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 (28) * Number of variables: 46 (18) Notification: Performance of Bindings: time 0.0006769/0.005509, allocations: 482.1 kB / 473.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FunctionAlias: time 5.423e-05/0.005571, allocations: 27.86 kB / 473.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Early Inline: time 0.000311/0.005887, allocations: 240.2 kB / 474 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simplify1: time 3.754e-05/0.005935, allocations: 15.98 kB / 474 MB, free: 10.2 MB / 350.1 MB Notification: Performance of Alias: time 0.0001929/0.006134, allocations: 120.5 kB / 474.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simplify2: time 1.741e-05/0.006158, allocations: 11.98 kB / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001105/0.006273, allocations: 76.16 kB / 474.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of Events: time 0.0001313/0.006412, allocations: 35.92 kB / 474.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of Partitioning: time 0.000192/0.006611, allocations: 124 kB / 474.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of Causalize: time 0.001239/0.007856, allocations: 0.8286 MB / 475.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002623/0.008129, allocations: 252.2 kB / 475.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of Inline: time 0.0004021/0.008539, allocations: 376.2 kB / 475.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of Partitioning: time 3.856e-05/0.008584, allocations: 28.11 kB / 475.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of Cleanup: time 2.368e-05/0.008614, allocations: 15.98 kB / 475.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of Causalize: time 0.001064/0.009684, allocations: 0.888 MB / 476.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of Tearing: time 1.204e-05/0.009707, allocations: 0 / 476.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of Initialization: time 5.41e-07/0.009714, allocations: 3.938 kB / 476.8 MB, free: 7.336 MB / 350.1 MB Notification: Performance of Tearing: time 5.66e-06/0.009724, allocations: 0 / 476.8 MB, free: 7.336 MB / 350.1 MB Notification: Performance of Categorize: time 9.648e-06/0.009738, allocations: 0 / 476.8 MB, free: 7.336 MB / 350.1 MB Notification: Performance of Solve: time 0.0001678/0.009911, allocations: 83.89 kB / 476.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of Jacobian: time 4.097e-06/0.009922, allocations: 0 / 476.9 MB, free: 7.254 MB / 350.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: ......... 1 * 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: ................. 1 (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: ........... 29 (scalar:22, array:7, 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: ........... 29 (scalar:22, array:7, 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.654e-05/0.009974, allocations: 33.92 kB / 476.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of SimCode: time 0.001412/0.01139, allocations: 1.139 MB / 478 MB, free: 6.059 MB / 350.1 MB Notification: Performance of Templates: time 0.004076/0.01548, allocations: 1.062 MB / 479.1 MB, free: 4.996 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches