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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 175.3 kB / 16.76 MB, free: 4.93 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001134/0.001134, allocations: 93.08 kB / 271.3 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3781/0.3781, allocations: 43.56 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003946/0.0003947, allocations: 16 kB / 432.6 MB, free: 4.965 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1307, allocations: 58.84 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3671/0.4979, allocations: 84.91 MB / 0.5629 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.4982, allocations: 59.98 kB / 0.5629 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00354/0.5017, allocations: 1.489 MB / 0.5644 GB, free: 15.42 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.591e-06/0.5017, allocations: 4 kB / 0.5644 GB, free: 15.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.898e-05/0.5018, allocations: 6.953 kB / 0.5644 GB, free: 15.41 MB / 394.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.0006169/0.5024, allocations: 407.1 kB / 0.5648 GB, free: 14.96 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/0.5025, allocations: 8.031 kB / 0.5648 GB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.24e-05/0.5025, allocations: 16.75 kB / 0.5648 GB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/0.5029, allocations: 231.9 kB / 0.565 GB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.5029, allocations: 16.75 kB / 0.565 GB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.5029, allocations: 16.38 kB / 0.565 GB, free: 14.65 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000383/0.5033, allocations: 200.7 kB / 0.5652 GB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.5034, allocations: 3.938 kB / 0.5652 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.5034, allocations: 4 kB / 0.5652 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.5034, allocations: 4 kB / 0.5652 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002383/0.5036, allocations: 135.4 kB / 0.5654 GB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007021/0.5044, allocations: 499.8 kB / 0.5659 GB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.775e-05/0.5045, allocations: 50.44 kB / 0.5659 GB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.895e-05/0.5046, allocations: 36.97 kB / 0.5659 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.184e-06/0.5046, allocations: 0 / 0.5659 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.5046, allocations: 30.56 kB / 0.566 GB, free: 13.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.5046, allocations: 0 / 0.566 GB, free: 13.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002495/0.5049, allocations: 85.52 kB / 0.566 GB, free: 13.55 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.5049, allocations: 55.41 kB / 0.5661 GB, free: 13.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.225e-05/0.505, allocations: 109.8 kB / 0.5662 GB, free: 13.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.5051, allocations: 25.7 kB / 0.5662 GB, free: 13.33 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.177e-05/0.5052, allocations: 135.9 kB / 0.5664 GB, free: 13.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.5052, allocations: 19.8 kB / 0.5664 GB, free: 13.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-06/0.5052, allocations: 0 / 0.5664 GB, free: 13.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.5053, allocations: 310.8 kB / 0.5667 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.199e-05/0.5054, allocations: 15.98 kB / 0.5667 GB, free: 12.85 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.125e-05/0.5054, allocations: 16 kB / 0.5667 GB, free: 12.83 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.923e-05/0.5055, allocations: 36.84 kB / 0.5667 GB, free: 12.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5055, allocations: 0 / 0.5667 GB, free: 12.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000123/0.5056, allocations: 77.45 kB / 0.5668 GB, free: 12.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.5057, allocations: 4 kB / 0.5668 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5057, allocations: 2.375 kB / 0.5668 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.5057, allocations: 4 kB / 0.5668 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.409e-05/0.5058, allocations: 12 kB / 0.5668 GB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.5058, allocations: 224 / 0.5668 GB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.943e-05/0.5058, allocations: 7.984 kB / 0.5668 GB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.5058, allocations: 3.938 kB / 0.5668 GB, free: 12.68 MB / 394.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.506, allocations: 133.8 kB / 0.567 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.506, allocations: 4 kB / 0.567 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.506, allocations: 11.95 kB / 0.567 GB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.506, allocations: 4 kB / 0.567 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.506, allocations: 0 / 0.567 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.506, allocations: 0 / 0.567 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000364/0.5064, allocations: 374.4 kB / 0.5674 GB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.5064, allocations: 0 / 0.5674 GB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.096e-05/0.5065, allocations: 11.98 kB / 0.5674 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.5065, allocations: 4 kB / 0.5674 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.443e-06/0.5065, allocations: 0.75 kB / 0.5674 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5065, allocations: 1.062 kB / 0.5674 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5065, allocations: 4 kB / 0.5674 GB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.5067, allocations: 171.3 kB / 0.5675 GB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.193e-05/0.5067, allocations: 85.02 kB / 0.5676 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.5068, allocations: 7.984 kB / 0.5676 GB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.756e-05/0.5068, allocations: 1.062 kB / 0.5676 GB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.5069, allocations: 4 kB / 0.5676 GB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-06/0.5069, allocations: 3.938 kB / 0.5676 GB, free: 11.78 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.516e-05/0.5069, allocations: 91.89 kB / 0.5677 GB, free: 11.69 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5069, allocations: 0 / 0.5677 GB, free: 11.69 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002016/0.5071, allocations: 19.84 kB / 0.5677 GB, free: 11.67 MB / 394.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001131/0.5072, allocations: 99.19 kB / 0.5678 GB, free: 11.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001393/0.5074, allocations: 43.91 kB / 0.5679 GB, free: 11.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5074, allocations: 0 / 0.5679 GB, free: 11.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.585e-05/0.5075, allocations: 16 kB / 0.5679 GB, free: 11.51 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.5077, allocations: 15.89 kB / 0.5679 GB, free: 11.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005785/0.5083, allocations: 330.7 kB / 0.5682 GB, free: 11.16 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.5087, allocations: 0.7278 MB / 0.5689 GB, free: 10.4 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.073e-05/0.5087, allocations: 9.406 kB / 0.5689 GB, free: 10.39 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.098e-05/0.5087, allocations: 7.438 kB / 0.5689 GB, free: 10.39 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5087, allocations: 0 / 0.5689 GB, free: 10.39 MB / 394.7 MB Notification: Performance of Templates: time 0.00262/0.5114, allocations: 0.6007 MB / 0.5695 GB, free: 9.805 MB / 394.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches