Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.MuxDemux.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001558/0.001558, allocations: 116.1 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001891/0.001891, allocations: 214.8 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 230.2 MB / 257.8 MB, free: 8.477 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2204/0.2204, allocations: 46.89 MB / 361.1 MB, free: 4.625 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Blocks.MuxDemux") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002423/0.002423, allocations: 75.88 kB / 0.4968 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2974, allocations: 65.99 MB / 0.5612 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.003154/0.3006, allocations: 1.577 MB / 0.5627 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002863/0.3008, allocations: 67.75 kB / 0.5628 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.461e-05/0.3009, allocations: 4 kB / 0.5628 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.3011, allocations: 19.78 kB / 0.5628 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.043e-05/0.3011, allocations: 7.938 kB / 0.5628 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.3012, allocations: 19.98 kB / 0.5629 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.3014, allocations: 67.88 kB / 0.5629 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002505/0.3016, allocations: 95.31 kB / 0.563 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.468e-05/0.3017, allocations: 31.92 kB / 0.563 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.726e-05/0.3018, allocations: 47.83 kB / 0.5631 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.3018, allocations: 8 kB / 0.5631 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.05e-05/0.3018, allocations: 8 kB / 0.5631 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.965e-05/0.3019, allocations: 67.83 kB / 0.5632 GB, free: 2.988 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.564e-05/0.302, allocations: 63.61 kB / 0.5632 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.3022, allocations: 161.9 kB / 0.5634 GB, free: 2.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3022, allocations: 0 / 0.5634 GB, free: 2.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3022, allocations: 0 / 0.5634 GB, free: 2.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.3022, allocations: 0 / 0.5634 GB, free: 2.77 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.000563/0.3028, allocations: 443.2 kB / 0.5638 GB, free: 2.289 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.3028, allocations: 8.031 kB / 0.5638 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/0.3028, allocations: 16.84 kB / 0.5638 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/0.3031, allocations: 224.1 kB / 0.564 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.3031, allocations: 12.75 kB / 0.5641 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.3032, allocations: 24.36 kB / 0.5641 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003503/0.3035, allocations: 193.6 kB / 0.5643 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.3035, allocations: 3.938 kB / 0.5643 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.3035, allocations: 4 kB / 0.5643 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.3036, allocations: 4 kB / 0.5643 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/0.3038, allocations: 127.3 kB / 0.5644 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006569/0.3044, allocations: 499.9 kB / 0.5649 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.65e-05/0.3045, allocations: 38.56 kB / 0.5649 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.474e-05/0.3046, allocations: 28.91 kB / 0.5649 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.3046, allocations: 4 kB / 0.5649 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.3047, allocations: 38.55 kB / 0.565 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.3047, allocations: 0 / 0.565 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002482/0.3049, allocations: 81.56 kB / 0.5651 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.3049, allocations: 51.41 kB / 0.5651 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.305, allocations: 109.8 kB / 0.5652 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.3051, allocations: 29.64 kB / 0.5652 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.496e-05/0.3051, allocations: 140.1 kB / 0.5654 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.3052, allocations: 27.84 kB / 0.5654 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-05/0.3052, allocations: 17.72 kB / 0.5654 GB, free: 492 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3054, allocations: 314.8 kB / 0.5657 GB, free: 168 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.436e-05/0.3054, allocations: 12 kB / 0.5657 GB, free: 156 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.501e-05/0.3054, allocations: 7.984 kB / 0.5657 GB, free: 148 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.398e-05/0.3055, allocations: 36.78 kB / 0.5658 GB, free: 108 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3055, allocations: 4 kB / 0.5658 GB, free: 104 kB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001348/0.3057, allocations: 69.61 kB / 0.5658 GB, free: 28 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.3057, allocations: 4 kB / 0.5658 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3057, allocations: 0 / 0.5658 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.3057, allocations: 4 kB / 0.5658 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.121e-05/0.3058, allocations: 8 kB / 0.5659 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3058, allocations: 0 / 0.5659 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.586e-05/0.3058, allocations: 0 / 0.5659 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.3058, allocations: 7.984 kB / 0.5659 GB, free: 4 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001255/0.3059, allocations: 133.8 kB / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.306, allocations: 12.33 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.947e-05/0.306, allocations: 11.91 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.306, allocations: 3.984 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.306, allocations: 0 / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.878e-05/0.3061, allocations: 85 kB / 0.5661 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.3061, allocations: 8 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.043e-05/0.3061, allocations: 0 / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.243e-05/0.3062, allocations: 4 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001726/0.3063, allocations: 144.9 kB / 0.5662 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002171/0.3065, allocations: 242.7 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.92e-05/0.3066, allocations: 15.98 kB / 0.5665 GB, free: 15.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.931e-05/0.3066, allocations: 87.27 kB / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of Backend: time 3.11e-07/0.3066, allocations: 0 / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003492/0.307, allocations: 90.39 kB / 0.5667 GB, free: 15.12 MB / 414.1 MB Notification: Performance of SimCode: time 0.0007897/0.3078, allocations: 0.703 MB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of Templates: time 0.003284/0.3111, allocations: 0.7425 MB / 0.5681 GB, free: 13.64 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.MuxDemux.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.MuxDemux.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.MuxDemux.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.MuxDemux.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.MuxDemux.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.MuxDemux -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.MuxDemux_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.319576520938426]