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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 115.7 kB / 291.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3529/0.3529, allocations: 44.14 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 47.92 kB / 457.7 MB, free: 2.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3854/0.3865, allocations: 60.8 MB / 0.5064 GB, free: 38.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.002875/0.3894, allocations: 1.607 MB / 0.5079 GB, free: 37.13 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001256/0.3895, allocations: 47.3 kB / 0.508 GB, free: 37.1 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.953e-05/0.3896, allocations: 6.25 kB / 0.508 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.3898, allocations: 15.77 kB / 0.508 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.331e-05/0.3898, allocations: 5 kB / 0.508 GB, free: 37.08 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.741e-05/0.3899, allocations: 15.97 kB / 0.508 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.39, allocations: 74.62 kB / 0.5081 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003072/0.3903, allocations: 123.2 kB / 0.5082 GB, free: 36.99 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.564e-05/0.3904, allocations: 40.53 kB / 0.5083 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.431e-05/0.3904, allocations: 37.3 kB / 0.5083 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.899e-05/0.3905, allocations: 7.719 kB / 0.5083 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.041e-05/0.3905, allocations: 7.688 kB / 0.5083 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.144e-05/0.3906, allocations: 61.88 kB / 0.5084 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.271e-05/0.3907, allocations: 62.48 kB / 0.5084 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.3908, allocations: 141.6 kB / 0.5086 GB, free: 36.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3908, allocations: 0 / 0.5086 GB, free: 36.83 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3908, allocations: 0 / 0.5086 GB, free: 36.83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3909, allocations: 4 kB / 0.5086 GB, free: 36.82 MB / 378.7 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.0004747/0.3913, allocations: 444.4 kB / 0.509 GB, free: 36.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.3914, allocations: 10.38 kB / 0.509 GB, free: 36.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.65e-05/0.3914, allocations: 16.38 kB / 0.509 GB, free: 36.4 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.3916, allocations: 212.8 kB / 0.5092 GB, free: 36.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.3917, allocations: 12.5 kB / 0.5092 GB, free: 36.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.3917, allocations: 17.66 kB / 0.5093 GB, free: 36.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.392, allocations: 194.4 kB / 0.5094 GB, free: 36.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.392, allocations: 7.938 kB / 0.5094 GB, free: 36.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.392, allocations: 10.88 kB / 0.5095 GB, free: 36.08 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.3921, allocations: 2.875 kB / 0.5095 GB, free: 36.08 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.3923, allocations: 123.4 kB / 0.5096 GB, free: 36.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000533/0.3928, allocations: 0.4942 MB / 0.5101 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.141e-05/0.3929, allocations: 38.58 kB / 0.5101 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.73e-05/0.3929, allocations: 32.14 kB / 0.5101 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.393, allocations: 3.219 kB / 0.5101 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.393, allocations: 34.5 kB / 0.5102 GB, free: 35.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.393, allocations: 0 / 0.5102 GB, free: 35.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002338/0.3932, allocations: 81.34 kB / 0.5102 GB, free: 35.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.3933, allocations: 51.41 kB / 0.5103 GB, free: 35.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.364e-05/0.3933, allocations: 109.1 kB / 0.5104 GB, free: 35.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.295e-06/0.3934, allocations: 25.7 kB / 0.5104 GB, free: 35.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/0.3934, allocations: 137.6 kB / 0.5105 GB, free: 35.22 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.3934, allocations: 19.03 kB / 0.5106 GB, free: 35.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.3935, allocations: 20.12 kB / 0.5106 GB, free: 35.19 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.734e-05/0.3935, allocations: 314.8 kB / 0.5109 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.747e-05/0.3936, allocations: 14.86 kB / 0.5109 GB, free: 34.87 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.001e-05/0.3936, allocations: 13.02 kB / 0.5109 GB, free: 34.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.665e-05/0.3937, allocations: 37.83 kB / 0.5109 GB, free: 34.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3937, allocations: 4 kB / 0.511 GB, free: 34.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.58e-05/0.3938, allocations: 68.58 kB / 0.511 GB, free: 34.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.3938, allocations: 7.406 kB / 0.511 GB, free: 34.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.3938, allocations: 0 / 0.511 GB, free: 34.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3938, allocations: 4 kB / 0.511 GB, free: 34.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.333e-05/0.3939, allocations: 8.719 kB / 0.511 GB, free: 34.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.3939, allocations: 4.016 kB / 0.511 GB, free: 34.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.385e-05/0.394, allocations: 10.94 kB / 0.511 GB, free: 34.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.394, allocations: 0 / 0.511 GB, free: 34.78 MB / 378.7 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 7.572e-05/0.394, allocations: 139.4 kB / 0.5112 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.3941, allocations: 6.812 kB / 0.5112 GB, free: 34.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.126e-05/0.3941, allocations: 7.969 kB / 0.5112 GB, free: 34.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.3941, allocations: 4 kB / 0.5112 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3941, allocations: 2.719 kB / 0.5112 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.3941, allocations: 0 / 0.5112 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.3944, allocations: 366.7 kB / 0.5116 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3944, allocations: 0 / 0.5116 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.617e-05/0.3944, allocations: 12.56 kB / 0.5116 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3944, allocations: 0 / 0.5116 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.3945, allocations: 3.328 kB / 0.5116 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3945, allocations: 4 kB / 0.5116 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3945, allocations: 0 / 0.5116 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.3948, allocations: 0.7118 MB / 0.5123 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.954e-05/0.3948, allocations: 81.2 kB / 0.5123 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.3948, allocations: 14.06 kB / 0.5124 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.984e-05/0.3949, allocations: 11.92 kB / 0.5124 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.3949, allocations: 2.844 kB / 0.5124 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.3949, allocations: 0 / 0.5124 GB, free: 33.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.187e-05/0.3949, allocations: 95.02 kB / 0.5125 GB, free: 33.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.52e-07/0.3949, allocations: 0 / 0.5125 GB, free: 33.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002996/0.3952, allocations: 27.28 kB / 0.5125 GB, free: 33.37 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 7.587e-05/0.3953, allocations: 102 kB / 0.5126 GB, free: 33.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.3954, allocations: 35.64 kB / 0.5126 GB, free: 33.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.592e-06/0.3955, allocations: 4 kB / 0.5126 GB, free: 33.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.807e-05/0.3955, allocations: 14.92 kB / 0.5126 GB, free: 33.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.3958, allocations: 16.28 kB / 0.5127 GB, free: 33.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004898/0.3963, allocations: 442 kB / 0.5131 GB, free: 32.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/0.3964, allocations: 0.7326 MB / 0.5138 GB, free: 32.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.89e-05/0.3965, allocations: 7.094 kB / 0.5138 GB, free: 32.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.105e-05/0.3965, allocations: 11.25 kB / 0.5138 GB, free: 32.18 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3965, allocations: 4 kB / 0.5138 GB, free: 32.17 MB / 378.7 MB Notification: Performance of Templates: time 0.002633/0.3991, allocations: 0.6298 MB / 0.5144 GB, free: 32.1 MB / 378.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches