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.001714/0.001714, allocations: 183.7 kB / 15.76 MB, free: 6.363 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.55/1.55, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008144/0.0008143, allocations: 90.86 kB / 270.2 MB, free: 13.37 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.225/0.225, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003442, allocations: 12 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1348, allocations: 58.87 MB / 490.2 MB, free: 8.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3901/0.525, allocations: 84.88 MB / 0.5616 GB, free: 14.9 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001772/0.5252, allocations: 61.53 kB / 0.5617 GB, free: 14.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003324/0.5285, allocations: 1.489 MB / 0.5631 GB, free: 13.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5285, allocations: 0 / 0.5631 GB, free: 13.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.5286, allocations: 7.5 kB / 0.5632 GB, free: 13.54 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.000415/0.529, allocations: 406.6 kB / 0.5635 GB, free: 13.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.529, allocations: 8.031 kB / 0.5635 GB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.932e-05/0.5291, allocations: 25.98 kB / 0.5636 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.5294, allocations: 222 kB / 0.5638 GB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.5294, allocations: 10.81 kB / 0.5638 GB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.5294, allocations: 22.11 kB / 0.5638 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003206/0.5298, allocations: 201.9 kB / 0.564 GB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.5298, allocations: 0 / 0.564 GB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.5298, allocations: 11.44 kB / 0.564 GB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.5298, allocations: 4 kB / 0.564 GB, free: 12.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.53, allocations: 124.7 kB / 0.5641 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006616/0.5307, allocations: 0.5061 MB / 0.5646 GB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.729e-05/0.5308, allocations: 38 kB / 0.5647 GB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.543e-06/0.5308, allocations: 0 / 0.5647 GB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.5309, allocations: 34.56 kB / 0.5647 GB, free: 11.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 9.41e-07/0.5309, allocations: 4 kB / 0.5647 GB, free: 11.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002355/0.5311, allocations: 84.02 kB / 0.5648 GB, free: 11.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.5312, allocations: 51.41 kB / 0.5648 GB, free: 11.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.73e-05/0.5312, allocations: 100.8 kB / 0.5649 GB, free: 11.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.5313, allocations: 29.7 kB / 0.565 GB, free: 11.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.074e-05/0.5313, allocations: 142.1 kB / 0.5651 GB, free: 11.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.5314, allocations: 7.812 kB / 0.5651 GB, free: 11.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-06/0.5314, allocations: 0 / 0.5651 GB, free: 11.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.5315, allocations: 326.5 kB / 0.5654 GB, free: 11.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.94e-05/0.5315, allocations: 11.56 kB / 0.5654 GB, free: 11.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.264e-05/0.5316, allocations: 11.98 kB / 0.5654 GB, free: 11.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.96e-05/0.5316, allocations: 16.62 kB / 0.5655 GB, free: 11.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.5316, allocations: 0 / 0.5655 GB, free: 11.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001144/0.5318, allocations: 72.67 kB / 0.5655 GB, free: 11.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.5318, allocations: 4 kB / 0.5655 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.5318, allocations: 0 / 0.5655 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.5318, allocations: 0 / 0.5655 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.056e-05/0.5319, allocations: 8.812 kB / 0.5655 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.5319, allocations: 4 kB / 0.5655 GB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.971e-05/0.532, allocations: 11.89 kB / 0.5656 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.532, allocations: 4 kB / 0.5656 GB, free: 11.07 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.5321, allocations: 139.8 kB / 0.5657 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.5321, allocations: 0 / 0.5657 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.799e-05/0.5322, allocations: 15.52 kB / 0.5657 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.5322, allocations: 0 / 0.5657 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.5322, allocations: 0 / 0.5657 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.5322, allocations: 448 / 0.5657 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003765/0.5326, allocations: 378.9 kB / 0.5661 GB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.5326, allocations: 0 / 0.5661 GB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.442e-05/0.5326, allocations: 15.98 kB / 0.5661 GB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.5326, allocations: 0 / 0.5661 GB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.5326, allocations: 0 / 0.5661 GB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.5327, allocations: 0 / 0.5661 GB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.5327, allocations: 4 kB / 0.5661 GB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.5328, allocations: 170.2 kB / 0.5662 GB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.5329, allocations: 81.09 kB / 0.5663 GB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.5329, allocations: 0 / 0.5663 GB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.144e-05/0.533, allocations: 4 kB / 0.5663 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.533, allocations: 8 kB / 0.5663 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.533, allocations: 0 / 0.5663 GB, free: 10.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.505e-05/0.5331, allocations: 86.27 kB / 0.5664 GB, free: 10.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5331, allocations: 0 / 0.5664 GB, free: 10.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002113/0.5333, allocations: 31.25 kB / 0.5665 GB, free: 10.1 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 (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.0001137/0.5334, allocations: 91.25 kB / 0.5665 GB, free: 10 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001348/0.5336, allocations: 34.73 kB / 0.5666 GB, free: 9.973 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5336, allocations: 4 kB / 0.5666 GB, free: 9.969 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.151e-05/0.5336, allocations: 19.92 kB / 0.5666 GB, free: 9.949 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.5338, allocations: 16.31 kB / 0.5666 GB, free: 9.938 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006128/0.5345, allocations: 324.4 kB / 0.5669 GB, free: 9.609 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.5349, allocations: 0.731 MB / 0.5676 GB, free: 8.855 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.006e-05/0.5349, allocations: 0 / 0.5676 GB, free: 8.855 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.535, allocations: 11.44 kB / 0.5676 GB, free: 8.844 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.535, allocations: 4 kB / 0.5676 GB, free: 8.84 MB / 378.7 MB Notification: Performance of Templates: time 0.002677/0.5377, allocations: 0.6015 MB / 0.5682 GB, free: 8.258 MB / 378.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