Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(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_3.2.3_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_3.2.3_ModelicaTest.Blocks.MuxDemux") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 110.5 kB / 17.09 MB, free: 6.004 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.001622/0.001622, allocations: 197.5 kB / 18.03 MB, free: 5.086 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.815/1.815, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2578/0.2578, allocations: 43.52 MB / 314.8 MB, free: 468 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.167e-05, allocations: 2.281 kB / 442.4 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.002538/0.002568, allocations: 1.55 MB / 444 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001563/0.002737, allocations: 43.84 kB / 444 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.554e-05/0.002819, allocations: 7.938 kB / 444 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.00298, allocations: 19.84 kB / 444 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.628e-05/0.003013, allocations: 7.922 kB / 444 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.03e-05/0.003125, allocations: 19.97 kB / 444.1 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.003266, allocations: 83.81 kB / 444.1 MB, free: 4 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002527/0.003525, allocations: 114.6 kB / 444.3 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.28e-05/0.003575, allocations: 31.92 kB / 444.3 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.227e-05/0.003633, allocations: 35.84 kB / 444.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.003659, allocations: 8 kB / 444.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.213e-05/0.003676, allocations: 11.94 kB / 444.3 MB, free: 3.805 MB / 318.1 MB Notification: Performance of combineBinaries: time 8.215e-05/0.003763, allocations: 118.6 kB / 444.5 MB, free: 3.688 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 2.33e-05/0.003792, allocations: 74.88 kB / 444.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.003825, allocations: 15.94 kB / 444.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.304e-05/0.003862, allocations: 11.92 kB / 444.6 MB, free: 3.586 MB / 318.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.0004765/0.004344, allocations: 475.1 kB / 445 MB, free: 3.02 MB / 318.1 MB Notification: Performance of FunctionAlias: time 2.492e-05/0.004375, allocations: 19.94 kB / 445 MB, free: 3 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0001993/0.004579, allocations: 252.2 kB / 445.3 MB, free: 2.727 MB / 318.1 MB Notification: Performance of simplify1: time 3.034e-05/0.004615, allocations: 15.98 kB / 445.3 MB, free: 2.711 MB / 318.1 MB Notification: Performance of Alias: time 0.0001242/0.004745, allocations: 116.5 kB / 445.4 MB, free: 2.559 MB / 318.1 MB Notification: Performance of simplify2: time 1.321e-05/0.004764, allocations: 15.98 kB / 445.4 MB, free: 2.543 MB / 318.1 MB Notification: Performance of Events: time 9.995e-05/0.004869, allocations: 27.94 kB / 445.5 MB, free: 2.516 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001043/0.004981, allocations: 76.14 kB / 445.5 MB, free: 2.426 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001466/0.005135, allocations: 112.1 kB / 445.6 MB, free: 2.309 MB / 318.1 MB Notification: Performance of Causalize: time 0.0008657/0.006007, allocations: 0.8402 MB / 446.5 MB, free: 1.469 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001603/0.006177, allocations: 260.2 kB / 446.7 MB, free: 1.188 MB / 318.1 MB Notification: Performance of Inline: time 0.0002777/0.006462, allocations: 364.3 kB / 447.1 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of Partitioning: time 2.618e-05/0.006494, allocations: 32.05 kB / 447.1 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of Cleanup: time 1.642e-05/0.006516, allocations: 19.92 kB / 447.1 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of Causalize: time 0.0008116/0.007332, allocations: 0.8802 MB / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of Tearing: time 7.724e-06/0.007352, allocations: 4 kB / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of Initialization: time 3.01e-07/0.007359, allocations: 4 kB / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of Tearing: time 3.407e-06/0.007367, allocations: 3.938 kB / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of Categorize: time 8.636e-06/0.00738, allocations: 0 / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of Solve: time 0.0001472/0.007532, allocations: 79.95 kB / 448.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of Jacobian: time 4.148e-06/0.007544, allocations: 0 / 448.1 MB, free: 15.77 MB / 334.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.221e-05/0.00759, allocations: 29.19 kB / 448.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008482/0.008444, allocations: 1.134 MB / 449.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of Templates: time 0.003605/0.01206, allocations: 1.043 MB / 450.3 MB, free: 13.55 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches