Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_ModelicaTest.Blocks.MuxDemux") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002148/0.002153, allocations: 179.9 kB / 13.66 MB, free: 1.656 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.111/2.111, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001075/0.001074, allocations: 90.64 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2844/0.2844, allocations: 43.5 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.564e-05/4.594e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1215, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4831/0.6046, allocations: 84.78 MB / 0.5556 GB, free: 2.781 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.6049, allocations: 70 kB / 0.5556 GB, free: 2.746 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004674/0.6096, allocations: 1.482 MB / 0.5571 GB, free: 1.418 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.6096, allocations: 3.938 kB / 0.5571 GB, free: 1.414 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.556e-05/0.6096, allocations: 7.609 kB / 0.5571 GB, free: 1.41 MB / 362.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.0004029/0.6101, allocations: 400.6 kB / 0.5575 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.6101, allocations: 8.031 kB / 0.5575 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.162e-05/0.6102, allocations: 31.2 kB / 0.5575 GB, free: 0.9453 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.6104, allocations: 213.4 kB / 0.5577 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.6105, allocations: 11.69 kB / 0.5577 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.6105, allocations: 22.36 kB / 0.5578 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000393/0.6109, allocations: 187.5 kB / 0.5579 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.6109, allocations: 0 / 0.5579 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.611, allocations: 11.44 kB / 0.5579 GB, free: 0.5352 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.611, allocations: 8 kB / 0.558 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002513/0.6113, allocations: 108.6 kB / 0.5581 GB, free: 460 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008035/0.6121, allocations: 0.5029 MB / 0.5586 GB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.943e-05/0.6122, allocations: 38.38 kB / 0.5586 GB, free: 15.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.011e-05/0.6123, allocations: 23.86 kB / 0.5586 GB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.6123, allocations: 4 kB / 0.5586 GB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.6123, allocations: 34.56 kB / 0.5586 GB, free: 15.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.053e-06/0.6123, allocations: 0 / 0.5586 GB, free: 15.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001859/0.6125, allocations: 56.62 kB / 0.5587 GB, free: 15.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.6126, allocations: 51.41 kB / 0.5588 GB, free: 15.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.6127, allocations: 96.88 kB / 0.5588 GB, free: 15.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.6128, allocations: 25.7 kB / 0.5589 GB, free: 15.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.6129, allocations: 209.2 kB / 0.5591 GB, free: 15.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.6129, allocations: 19.3 kB / 0.5591 GB, free: 15.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.6129, allocations: 0 / 0.5591 GB, free: 15.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.6131, allocations: 314.8 kB / 0.5594 GB, free: 15.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.572e-05/0.6131, allocations: 7.125 kB / 0.5594 GB, free: 15.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.569e-05/0.6131, allocations: 8 kB / 0.5594 GB, free: 15.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.136e-05/0.6132, allocations: 7.625 kB / 0.5594 GB, free: 15.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.6132, allocations: 0 / 0.5594 GB, free: 15.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001467/0.6134, allocations: 57.19 kB / 0.5595 GB, free: 14.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.6134, allocations: 4 kB / 0.5595 GB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.6134, allocations: 4 kB / 0.5595 GB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.6134, allocations: 3.938 kB / 0.5595 GB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.6136, allocations: 12 kB / 0.5595 GB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.6136, allocations: 0 / 0.5595 GB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.443e-05/0.6137, allocations: 7.891 kB / 0.5595 GB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.6137, allocations: 4 kB / 0.5595 GB, free: 14.95 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 () * 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 8.541e-05/0.6138, allocations: 104.9 kB / 0.5596 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.6138, allocations: 4 kB / 0.5596 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.6139, allocations: 11.34 kB / 0.5596 GB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.6139, allocations: 3.938 kB / 0.5596 GB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6139, allocations: 0 / 0.5596 GB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.6139, allocations: 0 / 0.5596 GB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004975/0.6144, allocations: 368 kB / 0.56 GB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.6145, allocations: 4 kB / 0.56 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.967e-05/0.6146, allocations: 8 kB / 0.56 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.6146, allocations: 3.984 kB / 0.56 GB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.6146, allocations: 4 kB / 0.56 GB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.6146, allocations: 0 / 0.56 GB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6146, allocations: 0 / 0.56 GB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.6148, allocations: 158.7 kB / 0.5601 GB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.165e-05/0.6149, allocations: 77.11 kB / 0.5602 GB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.6149, allocations: 3.062 kB / 0.5602 GB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.003e-05/0.615, allocations: 4 kB / 0.5602 GB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.615, allocations: 8 kB / 0.5602 GB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.309e-06/0.615, allocations: 192 / 0.5602 GB, free: 14.15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.47e-05/0.6151, allocations: 91.2 kB / 0.5603 GB, free: 14.06 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6151, allocations: 0 / 0.5603 GB, free: 14.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003015/0.6154, allocations: 23.75 kB / 0.5603 GB, free: 14.04 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 () * 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.0001265/0.6156, allocations: 94.75 kB / 0.5604 GB, free: 13.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001129/0.6157, allocations: 23.75 kB / 0.5604 GB, free: 13.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.6157, allocations: 0 / 0.5604 GB, free: 13.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.094e-05/0.6158, allocations: 14.94 kB / 0.5605 GB, free: 13.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.616, allocations: 28.14 kB / 0.5605 GB, free: 13.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006301/0.6167, allocations: 205.9 kB / 0.5607 GB, free: 13.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.6171, allocations: 0.7338 MB / 0.5614 GB, free: 12.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.942e-05/0.6172, allocations: 11.44 kB / 0.5614 GB, free: 12.91 MB / 378.7 MB Notification: Performance of SimCode: time 3.135e-06/0.6172, allocations: 0 / 0.5614 GB, free: 12.91 MB / 378.7 MB Notification: Performance of Templates: time 0.003814/0.621, allocations: 1.226 MB / 0.5626 GB, free: 11.7 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.MuxDemux.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.MuxDemux.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.MuxDemux.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.MuxDemux.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.MuxDemux.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.MuxDemux --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Blocks.MuxDemux.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches