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.002129/0.002129, allocations: 180.1 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.072/2.072, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001044/0.001043, allocations: 91.58 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2968/0.2968, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.878e-05/1.888e-05, allocations: 0 / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3921, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1537/0.5459, allocations: 84.12 MB / 0.548 GB, free: 15.17 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/0.5461, allocations: 63.48 kB / 0.5481 GB, free: 15.11 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.005209/0.5513, allocations: 1.472 MB / 0.5495 GB, free: 13.64 MB / 395.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.5514, allocations: 7.984 kB / 0.5496 GB, free: 13.63 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.5514, allocations: 3.281 kB / 0.5496 GB, free: 13.63 MB / 395.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.0005085/0.552, allocations: 394.5 kB / 0.5499 GB, free: 13.2 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.552, allocations: 12.03 kB / 0.5499 GB, free: 13.18 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.597e-05/0.5521, allocations: 19.77 kB / 0.55 GB, free: 13.16 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.5524, allocations: 222.8 kB / 0.5502 GB, free: 12.91 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.5525, allocations: 8 kB / 0.5502 GB, free: 12.9 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.5525, allocations: 8.219 kB / 0.5502 GB, free: 12.89 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003052/0.5528, allocations: 104.7 kB / 0.5503 GB, free: 12.79 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003853/0.5532, allocations: 160.2 kB / 0.5504 GB, free: 12.63 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.5532, allocations: 0 / 0.5504 GB, free: 12.63 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.5533, allocations: 0 / 0.5504 GB, free: 12.63 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.5533, allocations: 4 kB / 0.5504 GB, free: 12.62 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008671/0.5542, allocations: 471.9 kB / 0.5509 GB, free: 12.12 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.713e-05/0.5543, allocations: 30.58 kB / 0.5509 GB, free: 12.09 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.803e-05/0.5543, allocations: 20.98 kB / 0.5509 GB, free: 12.06 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.5544, allocations: 4 kB / 0.551 GB, free: 12.06 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.5544, allocations: 34.56 kB / 0.551 GB, free: 12.02 MB / 395.1 MB Notification: Performance of pre-optimization done (n=5): time 2.004e-06/0.5544, allocations: 0 / 0.551 GB, free: 12.02 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001821/0.5546, allocations: 49.62 kB / 0.551 GB, free: 11.96 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.5547, allocations: 51.41 kB / 0.5511 GB, free: 11.9 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.299e-05/0.5548, allocations: 97 kB / 0.5512 GB, free: 11.8 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.5548, allocations: 25.7 kB / 0.5512 GB, free: 11.77 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.555, allocations: 210.2 kB / 0.5514 GB, free: 11.56 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.555, allocations: 23.8 kB / 0.5514 GB, free: 11.54 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.555, allocations: 0 / 0.5514 GB, free: 11.54 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.5552, allocations: 310.8 kB / 0.5517 GB, free: 11.22 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.389e-05/0.5552, allocations: 4 kB / 0.5517 GB, free: 11.22 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.378e-05/0.5552, allocations: 8 kB / 0.5517 GB, free: 11.21 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.05e-05/0.5553, allocations: 8.141 kB / 0.5517 GB, free: 11.2 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.5553, allocations: 0 / 0.5517 GB, free: 11.2 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001146/0.5554, allocations: 57.69 kB / 0.5518 GB, free: 11.14 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.5554, allocations: 4 kB / 0.5518 GB, free: 11.14 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.5554, allocations: 0 / 0.5518 GB, free: 11.14 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.5555, allocations: 4 kB / 0.5518 GB, free: 11.13 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.5556, allocations: 15.94 kB / 0.5518 GB, free: 11.12 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.5556, allocations: 0 / 0.5518 GB, free: 11.12 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.401e-05/0.5557, allocations: 7.891 kB / 0.5518 GB, free: 11.11 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.5557, allocations: 4 kB / 0.5518 GB, free: 11.11 MB / 395.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 () * 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.381e-05/0.5558, allocations: 104.9 kB / 0.5519 GB, free: 11 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.5558, allocations: 4 kB / 0.5519 GB, free: 10.99 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/0.5559, allocations: 8.406 kB / 0.5519 GB, free: 10.98 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.5559, allocations: 4 kB / 0.5519 GB, free: 10.98 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.5559, allocations: 0 / 0.5519 GB, free: 10.98 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.5559, allocations: 3.938 kB / 0.5519 GB, free: 10.98 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004431/0.5564, allocations: 315 kB / 0.5522 GB, free: 10.62 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5564, allocations: 0 / 0.5522 GB, free: 10.62 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.139e-05/0.5565, allocations: 8 kB / 0.5523 GB, free: 10.62 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.5565, allocations: 4 kB / 0.5523 GB, free: 10.61 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.5565, allocations: 0 / 0.5523 GB, free: 10.61 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.5565, allocations: 4 kB / 0.5523 GB, free: 10.61 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.331e-06/0.5566, allocations: 3.984 kB / 0.5523 GB, free: 10.61 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.5567, allocations: 147.4 kB / 0.5524 GB, free: 10.45 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.413e-05/0.5568, allocations: 81.09 kB / 0.5525 GB, free: 10.35 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.5568, allocations: 4 kB / 0.5525 GB, free: 10.34 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.473e-05/0.5569, allocations: 0 / 0.5525 GB, free: 10.34 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.557, allocations: 8.188 kB / 0.5525 GB, free: 10.34 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.056e-06/0.557, allocations: 11.94 kB / 0.5525 GB, free: 10.32 MB / 395.1 MB Notification: Performance of sorting global known variables: time 5.785e-05/0.5571, allocations: 83.27 kB / 0.5526 GB, free: 10.24 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5571, allocations: 0 / 0.5526 GB, free: 10.24 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003083/0.5574, allocations: 27.75 kB / 0.5526 GB, free: 10.21 MB / 395.1 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.000117/0.5575, allocations: 91.25 kB / 0.5527 GB, free: 10.11 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.5576, allocations: 20 kB / 0.5527 GB, free: 10.09 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.5576, allocations: 0 / 0.5527 GB, free: 10.09 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 3.557e-05/0.5577, allocations: 11.94 kB / 0.5527 GB, free: 10.08 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.5579, allocations: 19.94 kB / 0.5527 GB, free: 10.06 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005938/0.5586, allocations: 210.8 kB / 0.5529 GB, free: 9.828 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004659/0.559, allocations: 0.7392 MB / 0.5537 GB, free: 9.062 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.55e-05/0.5591, allocations: 11.44 kB / 0.5537 GB, free: 9.051 MB / 395.1 MB Notification: Performance of SimCode: time 9.32e-07/0.5591, allocations: 0 / 0.5537 GB, free: 9.051 MB / 395.1 MB Notification: Performance of Templates: time 0.003672/0.5628, allocations: 1.201 MB / 0.5549 GB, free: 7.855 MB / 395.1 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