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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 112.9 kB / 20.54 MB, free: 1.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 192.5 kB / 23.72 MB, free: 5.402 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 225.6 MB / 252.3 MB, free: 13.35 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1915/0.1915, allocations: 44.91 MB / 352.4 MB, free: 12.33 MB / 286.1 MB " [Timeout remaining time 180] 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=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.0.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.0.0_ModelicaTest.Blocks.MuxDemux") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/1.816e-05, allocations: 2.281 kB / 495.9 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.00231/0.002328, allocations: 1.565 MB / 497.5 MB, free: 396 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001146/0.002443, allocations: 55.77 kB / 497.5 MB, free: 340 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.741e-05/0.00249, allocations: 0 / 497.5 MB, free: 340 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.00261, allocations: 15.86 kB / 497.5 MB, free: 324 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.459e-05/0.002635, allocations: 7.922 kB / 497.6 MB, free: 316 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.906e-05/0.002714, allocations: 19.98 kB / 497.6 MB, free: 296 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.002838, allocations: 87.75 kB / 497.7 MB, free: 208 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.003032, allocations: 78.55 kB / 497.7 MB, free: 128 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.982e-05/0.003072, allocations: 27.92 kB / 497.8 MB, free: 100 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.053e-05/0.003122, allocations: 43.78 kB / 497.8 MB, free: 56 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.003143, allocations: 8 kB / 497.8 MB, free: 48 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.098e-05/0.003154, allocations: 4 kB / 497.8 MB, free: 44 kB / 350.1 MB Notification: Performance of combineBinaries: time 0.0001172/0.003271, allocations: 138.7 kB / 498 MB, free: 15.9 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 4.687e-05/0.003318, allocations: 82.77 kB / 498 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.341e-05/0.003341, allocations: 15.81 kB / 498 MB, free: 15.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.994e-05/0.003361, allocations: 4 kB / 498.1 MB, free: 15.8 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 Bindings: time 0.0004581/0.003819, allocations: 440 kB / 498.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of FunctionAlias: time 4.145e-05/0.003861, allocations: 38.77 kB / 498.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of Early Inline: time 0.0001857/0.004046, allocations: 180.6 kB / 498.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of Simplify 1: time 7.655e-05/0.004123, allocations: 72.2 kB / 498.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of Alias: time 0.0006558/0.004779, allocations: 471.2 kB / 499.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of Simplify 2: time 6.047e-05/0.004839, allocations: 64.33 kB / 499.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of Remove Stream: time 5.398e-05/0.004893, allocations: 52.42 kB / 499.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of Detect States: time 0.0001307/0.005024, allocations: 90.88 kB / 499.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of Events: time 5.568e-05/0.005079, allocations: 23.97 kB / 499.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0001121/0.005192, allocations: 95.28 kB / 499.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of Causalize: time 0.0004416/0.005633, allocations: 361.4 kB / 499.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001029/0.005736, allocations: 111.9 kB / 0.4883 GB, free: 13.49 MB / 366.1 MB Notification: Performance of Simplify: time 0.0001432/0.005879, allocations: 128.6 kB / 0.4884 GB, free: 13.31 MB / 366.1 MB Notification: Performance of Inline: time 0.000162/0.006041, allocations: 172 kB / 0.4886 GB, free: 13.14 MB / 366.1 MB Notification: Performance of Partitioning: time 1.484e-05/0.006056, allocations: 12.12 kB / 0.4886 GB, free: 13.12 MB / 366.1 MB Notification: Performance of Cleanup: time 3.731e-05/0.006093, allocations: 39.97 kB / 0.4886 GB, free: 13.08 MB / 366.1 MB Notification: Performance of Causalize: time 0.0004592/0.006552, allocations: 387.3 kB / 0.489 GB, free: 12.7 MB / 366.1 MB Notification: Performance of Tearing: time 1.034e-05/0.006563, allocations: 3.938 kB / 0.489 GB, free: 12.69 MB / 366.1 MB Notification: Performance of Initialization: time 2.71e-07/0.006563, allocations: 0 / 0.489 GB, free: 12.69 MB / 366.1 MB Notification: Performance of Remove Dummies: time 7.244e-06/0.00657, allocations: 4 kB / 0.489 GB, free: 12.69 MB / 366.1 MB Notification: Performance of Tearing: time 2.945e-06/0.006573, allocations: 4 kB / 0.489 GB, free: 12.68 MB / 366.1 MB Notification: Performance of Categorize: time 5.601e-06/0.006579, allocations: 0 / 0.489 GB, free: 12.68 MB / 366.1 MB Notification: Performance of Solve: time 8.654e-05/0.006665, allocations: 43.91 kB / 0.489 GB, free: 12.64 MB / 366.1 MB Notification: Performance of Jacobian: time 4.108e-06/0.006669, allocations: 0 / 0.489 GB, free: 12.64 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 3.649e-05/0.006706, allocations: 24.42 kB / 0.4891 GB, free: 12.62 MB / 366.1 MB Notification: Performance of SimCode: time 0.0007629/0.007469, allocations: 1.118 MB / 0.4902 GB, free: 11.46 MB / 366.1 MB Notification: Performance of Templates: time 0.002855/0.01032, allocations: 0.7972 MB / 0.4909 GB, free: 10.66 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.941605694591999]