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.001089/0.001089, allocations: 107.3 kB / 18.46 MB, free: 4.613 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.001155/0.001155, allocations: 193.3 kB / 19.4 MB, free: 3.688 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.372/1.372, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2221/0.2221, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.259e-05, allocations: 2.281 kB / 471.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.002846/0.002878, allocations: 1.544 MB / 472.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001857/0.003076, allocations: 51.77 kB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.602e-05/0.00316, allocations: 4 kB / 472.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000172/0.003338, allocations: 19.84 kB / 472.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.966e-05/0.003375, allocations: 3.938 kB / 472.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001028/0.0035, allocations: 23.97 kB / 472.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.003676, allocations: 87.7 kB / 472.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003012/0.003984, allocations: 114.6 kB / 473 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.229e-05/0.004057, allocations: 35.8 kB / 473 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.937e-05/0.004132, allocations: 35.84 kB / 473.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.004165, allocations: 12 kB / 473.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.032e-05/0.004191, allocations: 8 kB / 473.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0001677/0.004364, allocations: 118.6 kB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 4.031e-05/0.00441, allocations: 74.84 kB / 473.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.25e-05/0.004448, allocations: 11.94 kB / 473.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.061e-05/0.004494, allocations: 11.94 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.0006765/0.005176, allocations: 479.1 kB / 473.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FunctionAlias: time 3.437e-05/0.005217, allocations: 23.88 kB / 473.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of Early Inline: time 0.000232/0.005454, allocations: 236.3 kB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simplify1: time 3.459e-05/0.005496, allocations: 19.97 kB / 474 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Alias: time 0.0001498/0.005651, allocations: 124.4 kB / 474.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simplify2: time 2.279e-05/0.005679, allocations: 11.98 kB / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of Events: time 9.503e-05/0.005779, allocations: 35.89 kB / 474.2 MB, free: 10 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001064/0.005892, allocations: 80.17 kB / 474.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001943/0.006094, allocations: 120.1 kB / 474.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of Causalize: time 0.001291/0.007391, allocations: 0.8325 MB / 475.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002624/0.007665, allocations: 256.2 kB / 475.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of Inline: time 0.0004706/0.008143, allocations: 376.2 kB / 475.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of Partitioning: time 3.078e-05/0.008181, allocations: 24.12 kB / 475.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of Cleanup: time 2.479e-05/0.008212, allocations: 15.98 kB / 475.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of Causalize: time 0.001169/0.009386, allocations: 0.884 MB / 476.8 MB, free: 7.344 MB / 350.1 MB Notification: Performance of Tearing: time 8.906e-06/0.009408, allocations: 4 kB / 476.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of Initialization: time 6.51e-07/0.009415, allocations: 0 / 476.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of Tearing: time 4.118e-06/0.009425, allocations: 0 / 476.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of Categorize: time 1.041e-05/0.00944, allocations: 0 / 476.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of Solve: time 0.0001842/0.009629, allocations: 87.88 kB / 476.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of Jacobian: time 3.646e-06/0.00964, 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 5.194e-05/0.009696, allocations: 29.94 kB / 476.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of SimCode: time 0.0009728/0.01068, allocations: 1.13 MB / 478 MB, free: 6.07 MB / 350.1 MB Notification: Performance of Templates: time 0.003981/0.01467, allocations: 1.047 MB / 479.1 MB, free: 5.023 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