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.0009804/0.0009802, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.3 MB / 213.7 MB, free: 1.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008427/0.0008427, allocations: 86.64 kB / 261.8 MB, free: 1.605 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.1925/0.1925, allocations: 43.49 MB / 353.2 MB, free: 268 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.609e-05/1.611e-05, allocations: 4 kB / 418.3 MB, free: 28.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1092, allocations: 58.85 MB / 477.1 MB, free: 1.656 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3759/0.4852, allocations: 84.13 MB / 0.5481 GB, free: 9 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001717/0.4854, allocations: 56.53 kB / 0.5481 GB, free: 9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002991/0.4884, allocations: 1.47 MB / 0.5496 GB, free: 8.602 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4884, allocations: 0 / 0.5496 GB, free: 8.602 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.873e-05/0.4885, allocations: 3.844 kB / 0.5496 GB, free: 8.602 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.0003638/0.4888, allocations: 406.7 kB / 0.55 GB, free: 8.207 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.4889, allocations: 11.47 kB / 0.55 GB, free: 8.207 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.4889, allocations: 19.55 kB / 0.55 GB, free: 8.195 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.4892, allocations: 219.9 kB / 0.5502 GB, free: 7.977 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.4892, allocations: 7.625 kB / 0.5502 GB, free: 7.973 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.4892, allocations: 11.25 kB / 0.5502 GB, free: 7.973 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001704/0.4894, allocations: 101.8 kB / 0.5503 GB, free: 7.961 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.4897, allocations: 159.4 kB / 0.5505 GB, free: 7.906 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.4897, allocations: 0 / 0.5505 GB, free: 7.906 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.4897, allocations: 4 kB / 0.5505 GB, free: 7.902 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.4897, allocations: 3.906 kB / 0.5505 GB, free: 7.902 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005389/0.4903, allocations: 463.6 kB / 0.5509 GB, free: 7.523 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.891e-05/0.4903, allocations: 37.95 kB / 0.551 GB, free: 7.484 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.569e-05/0.4904, allocations: 20.3 kB / 0.551 GB, free: 7.465 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.4904, allocations: 4 kB / 0.551 GB, free: 7.461 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.4904, allocations: 30.56 kB / 0.551 GB, free: 7.422 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.4904, allocations: 0 / 0.551 GB, free: 7.422 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001659/0.4906, allocations: 53.38 kB / 0.5511 GB, free: 7.371 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.4907, allocations: 51.41 kB / 0.5511 GB, free: 7.309 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.625e-05/0.4907, allocations: 100.8 kB / 0.5512 GB, free: 7.207 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.4908, allocations: 29.7 kB / 0.5512 GB, free: 7.172 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.172e-05/0.4908, allocations: 138.4 kB / 0.5514 GB, free: 7.039 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.4908, allocations: 11.06 kB / 0.5514 GB, free: 7.031 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-06/0.4909, allocations: 0 / 0.5514 GB, free: 7.031 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.486e-05/0.4909, allocations: 314.8 kB / 0.5517 GB, free: 6.715 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.331e-05/0.4909, allocations: 6.875 kB / 0.5517 GB, free: 6.711 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.869e-06/0.491, allocations: 7.438 kB / 0.5517 GB, free: 6.707 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.931e-05/0.491, allocations: 11.94 kB / 0.5517 GB, free: 6.695 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.491, allocations: 4 kB / 0.5517 GB, free: 6.691 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.724e-05/0.4911, allocations: 52.86 kB / 0.5518 GB, free: 6.641 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.4911, allocations: 4 kB / 0.5518 GB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4911, allocations: 0 / 0.5518 GB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.4911, allocations: 0.875 kB / 0.5518 GB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.627e-05/0.4912, allocations: 16.77 kB / 0.5518 GB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.4912, allocations: 0.7031 kB / 0.5518 GB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.533e-05/0.4912, allocations: 4 kB / 0.5518 GB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.4913, allocations: 0 / 0.5518 GB, free: 6.617 MB / 362.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 4.889e-05/0.4913, allocations: 112.9 kB / 0.5519 GB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/0.4913, allocations: 0 / 0.5519 GB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.482e-05/0.4914, allocations: 12.61 kB / 0.5519 GB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.4914, allocations: 0 / 0.5519 GB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4914, allocations: 8.172 kB / 0.5519 GB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4914, allocations: 3.938 kB / 0.5519 GB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.4916, allocations: 324.3 kB / 0.5522 GB, free: 6.141 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4916, allocations: 4 kB / 0.5522 GB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.162e-05/0.4916, allocations: 11.98 kB / 0.5522 GB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4917, allocations: 0 / 0.5522 GB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.4917, allocations: 0 / 0.5522 GB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.4917, allocations: 4 kB / 0.5522 GB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.4917, allocations: 0 / 0.5522 GB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.506e-05/0.4918, allocations: 146.2 kB / 0.5524 GB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.725e-05/0.4918, allocations: 81.02 kB / 0.5525 GB, free: 5.871 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.4918, allocations: 4 kB / 0.5525 GB, free: 5.867 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.536e-05/0.4919, allocations: 4 kB / 0.5525 GB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.4919, allocations: 3.984 kB / 0.5525 GB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.4919, allocations: 4 kB / 0.5525 GB, free: 5.855 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.193e-05/0.4919, allocations: 90.7 kB / 0.5526 GB, free: 5.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4919, allocations: 0 / 0.5526 GB, free: 5.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002184/0.4921, allocations: 23.84 kB / 0.5526 GB, free: 5.746 MB / 362.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 7.308e-05/0.4922, allocations: 87.25 kB / 0.5527 GB, free: 5.648 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.068e-05/0.4923, allocations: 26.75 kB / 0.5527 GB, free: 5.629 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4923, allocations: 0 / 0.5527 GB, free: 5.629 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.902e-05/0.4923, allocations: 11.38 kB / 0.5527 GB, free: 5.621 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.4925, allocations: 7.984 kB / 0.5527 GB, free: 5.613 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003164/0.4928, allocations: 190.6 kB / 0.5529 GB, free: 5.418 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001572/0.493, allocations: 0.7307 MB / 0.5536 GB, free: 4.664 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.649e-05/0.493, allocations: 11.98 kB / 0.5536 GB, free: 4.652 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.84e-05/0.493, allocations: 7.438 kB / 0.5536 GB, free: 4.645 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4931, allocations: 3.938 kB / 0.5536 GB, free: 4.641 MB / 362.7 MB Notification: Performance of Templates: time 0.00238/0.4954, allocations: 0.5682 MB / 0.5542 GB, free: 4.094 MB / 362.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/jenkins/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