Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 99.59 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 219.4 kB / 24.5 MB, free: 3.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.563/1.563, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2564/0.2564, allocations: 46.97 MB / 361.6 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.MuxDemux,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0_ModelicaTest.Blocks.MuxDemux") translateModel(ModelicaTest.Blocks.MuxDemux,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0_ModelicaTest.Blocks.MuxDemux") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.31e-05/3.31e-05, allocations: 10.16 kB / 0.4973 GB, free: 7.297 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.003178/0.003211, allocations: 1.547 MB / 0.4988 GB, free: 5.742 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002626/0.003474, allocations: 63.75 kB / 0.4988 GB, free: 5.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.918e-05/0.003533, allocations: 0 / 0.4988 GB, free: 5.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.003683, allocations: 23.8 kB / 0.4989 GB, free: 5.656 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.475e-05/0.003708, allocations: 3.938 kB / 0.4989 GB, free: 5.652 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.003861, allocations: 23.97 kB / 0.4989 GB, free: 5.629 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.004016, allocations: 87.78 kB / 0.499 GB, free: 5.543 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002614/0.004278, allocations: 70.8 kB / 0.499 GB, free: 5.473 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.014e-05/0.004338, allocations: 35.86 kB / 0.4991 GB, free: 5.438 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.276e-05/0.00441, allocations: 39.83 kB / 0.4991 GB, free: 5.398 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.883e-05/0.004439, allocations: 8 kB / 0.4991 GB, free: 5.391 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.934e-05/0.004459, allocations: 12 kB / 0.4991 GB, free: 5.379 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.000144/0.004603, allocations: 142.5 kB / 0.4993 GB, free: 5.238 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 6.094e-05/0.004664, allocations: 94.7 kB / 0.4994 GB, free: 5.145 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/0.004692, allocations: 8 kB / 0.4994 GB, free: 5.137 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.899e-05/0.004721, allocations: 11.88 kB / 0.4994 GB, free: 5.125 MB / 366.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 [SIM] Bindings: time 0.0006933/0.005415, allocations: 0.5031 MB / 0.4999 GB, free: 4.5 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 9.483e-05/0.005509, allocations: 67.84 kB / 0.4999 GB, free: 4.422 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.000282/0.005791, allocations: 260.2 kB / 0.5002 GB, free: 4.141 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001542/0.005946, allocations: 96.64 kB / 0.5003 GB, free: 4 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0008976/0.006843, allocations: 0.5006 MB / 0.5008 GB, free: 3.41 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001059/0.006949, allocations: 80.72 kB / 0.5008 GB, free: 3.285 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 7.33e-05/0.007022, allocations: 56.41 kB / 0.5009 GB, free: 3.203 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001423/0.007165, allocations: 108.8 kB / 0.501 GB, free: 3.043 MB / 366.1 MB Notification: Performance of [SIM] Events: time 6.288e-05/0.007228, allocations: 12 kB / 0.501 GB, free: 3.031 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002206/0.007448, allocations: 108.3 kB / 0.5011 GB, free: 2.918 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0004576/0.007906, allocations: 282.6 kB / 0.5014 GB, free: 2.637 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001859/0.008092, allocations: 187.7 kB / 0.5016 GB, free: 2.453 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0002473/0.008339, allocations: 156.9 kB / 0.5017 GB, free: 2.23 MB / 366.1 MB Notification: Performance of [INI] Inline: time 0.0002743/0.008613, allocations: 271.8 kB / 0.502 GB, free: 1.961 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 2.051e-05/0.008634, allocations: 12.12 kB / 0.502 GB, free: 1.941 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 5.113e-05/0.008685, allocations: 47.91 kB / 0.502 GB, free: 1.895 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 0.0004673/0.009152, allocations: 310.4 kB / 0.5023 GB, free: 1.586 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.936e-05/0.009172, allocations: 12 kB / 0.5023 GB, free: 1.574 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 4.5e-07/0.009172, allocations: 4 kB / 0.5023 GB, free: 1.57 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.268e-06/0.009176, allocations: 0 / 0.5023 GB, free: 1.57 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 8.336e-06/0.009185, allocations: 12 kB / 0.5024 GB, free: 1.559 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 6.923e-06/0.009192, allocations: 0 / 0.5024 GB, free: 1.559 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 0.0001843/0.009376, allocations: 99.86 kB / 0.5024 GB, free: 1.461 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 1.013e-05/0.009386, allocations: 4 kB / 0.5024 GB, free: 1.457 MB / 366.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) {} * Number of discrete variables: ................. 1 (1) {$TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 22 (scalar:22, 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 (resizable: 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: ........... 22 (scalar:22, 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 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.319e-05/0.009439, allocations: 27.75 kB / 0.5025 GB, free: 1.434 MB / 366.1 MB Notification: Performance of SimCode: time 0.0007956/0.01023, allocations: 0.5068 MB / 0.503 GB, free: 0.8945 MB / 366.1 MB Notification: Performance of Templates: time 0.004071/0.01431, allocations: 0.838 MB / 0.5038 GB, free: 56 kB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.260162496007979]