Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Multiplexer.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) 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(Modelica.Electrical.Digital.Examples.Multiplexer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|FF.RS1.TD1.x|FF.RS2.TD1.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Multiplexer") translateModel(Modelica.Electrical.Digital.Examples.Multiplexer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|FF.RS1.TD1.x|FF.RS2.TD1.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Multiplexer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001815/0.001815, allocations: 180 kB / 17.01 MB, free: 5.125 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.992/1.992, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.0008685/0.0008685, allocations: 93.11 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.000349, allocations: 12 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3142, allocations: 47.57 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1192/0.4335, allocations: 83.27 MB / 459.1 MB, free: 13.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/0.4338, allocations: 67.97 kB / 459.1 MB, free: 13.33 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3937/0.8275, allocations: 54.87 MB / 0.502 GB, free: 102.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.8276, allocations: 0 / 0.502 GB, free: 102.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.02e-05/0.8276, allocations: 16.97 kB / 0.502 GB, free: 102.4 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001765/0.8294, allocations: 1.019 MB / 0.503 GB, free: 101.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.8295, allocations: 12.75 kB / 0.503 GB, free: 101.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002223/0.8297, allocations: 78.73 kB / 0.5031 GB, free: 101.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009285/0.8306, allocations: 469.1 kB / 0.5035 GB, free: 101.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.706e-05/0.8307, allocations: 51.45 kB / 0.5036 GB, free: 101.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.8309, allocations: 56.81 kB / 0.5036 GB, free: 101.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.8322, allocations: 0.8374 MB / 0.5044 GB, free: 101.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.8322, allocations: 0 / 0.5044 GB, free: 101.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.8324, allocations: 24.06 kB / 0.5045 GB, free: 101.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.8324, allocations: 14.06 kB / 0.5045 GB, free: 101.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.8335, allocations: 0.6562 MB / 0.5051 GB, free: 101.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002741/0.8362, allocations: 1.69 MB / 0.5068 GB, free: 101.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.8372, allocations: 0.6011 MB / 0.5073 GB, free: 101.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.086e-05/0.8373, allocations: 10.56 kB / 0.5074 GB, free: 101.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000833/0.8382, allocations: 0.5666 MB / 0.5079 GB, free: 101.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 2.565e-06/0.8382, allocations: 0 / 0.5079 GB, free: 101.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.002112/0.8403, allocations: 1.316 MB / 0.5092 GB, free: 100.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.446e-05/0.8404, allocations: 200.1 kB / 0.5094 GB, free: 100.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003514/0.8408, allocations: 371.4 kB / 0.5097 GB, free: 100.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.8409, allocations: 46.58 kB / 0.5098 GB, free: 100.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.841, allocations: 239.8 kB / 0.51 GB, free: 100.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.8412, allocations: 129 kB / 0.5101 GB, free: 100.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.14e-05/0.8413, allocations: 15.97 kB / 0.5102 GB, free: 100.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.27e-05/0.8414, allocations: 356 kB / 0.5105 GB, free: 99.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000513/0.8419, allocations: 308.6 kB / 0.5108 GB, free: 99.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005548/0.8425, allocations: 388.6 kB / 0.5112 GB, free: 99.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006097/0.8431, allocations: 478.3 kB / 0.5116 GB, free: 99.42 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.8431, allocations: 0 / 0.5116 GB, free: 99.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001615/0.8447, allocations: 1.141 MB / 0.5127 GB, free: 99.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.869e-05/0.8448, allocations: 148 kB / 0.5129 GB, free: 98.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.8448, allocations: 0 / 0.5129 GB, free: 98.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.8449, allocations: 13.77 kB / 0.5129 GB, free: 98.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.8451, allocations: 109.6 kB / 0.513 GB, free: 98.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.8451, allocations: 3.938 kB / 0.513 GB, free: 98.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005115/0.8456, allocations: 85.69 kB / 0.5131 GB, free: 98.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004644/0.8461, allocations: 0.5657 MB / 0.5136 GB, free: 98.78 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 75 ($whenCondition1,MUX.d,$PRE.MUX.Or1.auxiliary_n,MUX.Or1.x[1],MUX.Or1.x[2],MUX.Or1.x[3],MUX.Or1.x[4],MUX.Or1.auxiliary[2],MUX.Or1.auxiliary[3],MUX.Or1.auxiliary_n,$PRE.MUX.And1.auxiliary_n,$PRE.MUX.And2.auxiliary_n,$PRE.MUX.And3.auxiliary_n,$PRE.MUX.And4.auxiliary_n,FF.RS2.Nor2.x[2],FF.RS2.Nor2.auxiliary[2],FF.RS2.Nor2.auxiliary_n,$PRE.FF.RS2.TD1.x,FF.RS2.TD1.x_delayed,FF.And2.y,$PRE.FF.And2.auxiliary_n,FF.RS1.Nor2.x[2],FF.RS1.Nor2.auxiliary[2],FF.RS1.Nor2.auxiliary_n,$PRE.FF.RS1.TD1.x,FF.RS1.TD1.x_delayed,FF.And4.y,$PRE.FF.And4.auxiliary_n,FF.RS2.Nor1.auxiliary[2],$PRE.FF.RS2.Nor1.auxiliary_n,FF.RS2.Nor1.auxiliary_n,$PRE.FF.RS2.Nor2.auxiliary_n,FF.RS2.TD1.x,FF.And1.y,$PRE.FF.And1.auxiliary_n,FF.And3.x[1],FF.And3.x[2],FF.And3.auxiliary_n,FF.And4.auxiliary_n,$PRE.FF.Not1.auxiliary,CLK.y,$PRE.CLK.t_i,CLK.t_i,D0.y,D1.y,MUX.And1.x[1],MUX.And1.x[3],MUX.And1.auxiliary[2],MUX.And1.auxiliary_n,MUX.And2.auxiliary[2],MUX.And2.auxiliary_n,MUX.And3.auxiliary[2],MUX.And3.auxiliary_n,MUX.And4.auxiliary[2],MUX.And4.auxiliary_n,$PRE.MUX.Not1.auxiliary,MUX.Not1.auxiliary,$PRE.MUX.Not2.auxiliary,MUX.Not2.auxiliary,D2.y,D3.y,FF.RS1.Nor1.auxiliary[2],$PRE.FF.RS1.Nor1.auxiliary_n,FF.RS1.Nor1.auxiliary_n,$PRE.FF.RS1.Nor2.auxiliary_n,FF.RS1.TD1.x,FF.And1.auxiliary[2],FF.And1.auxiliary_n,FF.And2.x[1],FF.And2.auxiliary[2],FF.And2.auxiliary_n,FF.And3.y,$PRE.FF.And3.auxiliary_n,FF.Not1.auxiliary,Enable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 5 * 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.000489/0.8466, allocations: 442.7 kB / 0.514 GB, free: 98.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.8467, allocations: 49.47 kB / 0.5141 GB, free: 98.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.8468, allocations: 52.2 kB / 0.5141 GB, free: 98.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.8469, allocations: 10.33 kB / 0.5142 GB, free: 98.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.8469, allocations: 0 / 0.5142 GB, free: 98.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.8469, allocations: 11.31 kB / 0.5142 GB, free: 98.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000752/0.8476, allocations: 0.6657 MB / 0.5148 GB, free: 98.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.8477, allocations: 0 / 0.5148 GB, free: 98.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.8478, allocations: 92.52 kB / 0.5149 GB, free: 98.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.8478, allocations: 3.719 kB / 0.5149 GB, free: 98.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/0.848, allocations: 96.58 kB / 0.515 GB, free: 98.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.848, allocations: 0 / 0.515 GB, free: 98.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.848, allocations: 3.953 kB / 0.515 GB, free: 98.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.8494, allocations: 1.08 MB / 0.5161 GB, free: 97.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005181/0.85, allocations: 256.2 kB / 0.5163 GB, free: 97.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.8501, allocations: 21.16 kB / 0.5163 GB, free: 97.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003384/0.8505, allocations: 75.34 kB / 0.5164 GB, free: 97.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000318/0.8508, allocations: 151.9 kB / 0.5165 GB, free: 97.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004482/0.8513, allocations: 0.5629 MB / 0.5171 GB, free: 97.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002163/0.8515, allocations: 251.5 kB / 0.5173 GB, free: 97.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.8515, allocations: 0 / 0.5173 GB, free: 97.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005825/0.8521, allocations: 142.9 kB / 0.5175 GB, free: 97.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: 56 ($whenCondition1,CLK.y,CLK.t_i,D0.y,D1.y,MUX.d,MUX.Or1.x[1],MUX.Or1.x[2],MUX.Or1.x[3],MUX.Or1.x[4],MUX.Or1.auxiliary[2],MUX.Or1.auxiliary[3],MUX.Or1.auxiliary_n,MUX.And1.x[1],MUX.And1.x[3],MUX.And1.auxiliary[2],MUX.And1.auxiliary_n,MUX.And2.auxiliary[2],MUX.And2.auxiliary_n,MUX.And3.auxiliary[2],MUX.And3.auxiliary_n,MUX.And4.auxiliary[2],MUX.And4.auxiliary_n,MUX.Not1.auxiliary,MUX.Not2.auxiliary,D2.y,D3.y,FF.RS1.Nor1.auxiliary[2],FF.RS1.Nor1.auxiliary_n,FF.RS1.Nor2.x[2],FF.RS1.Nor2.auxiliary[2],FF.RS1.Nor2.auxiliary_n,FF.RS1.TD1.x,FF.RS1.TD1.x_delayed,FF.RS2.Nor1.auxiliary[2],FF.RS2.Nor1.auxiliary_n,FF.RS2.Nor2.x[2],FF.RS2.Nor2.auxiliary[2],FF.RS2.Nor2.auxiliary_n,FF.RS2.TD1.x,FF.RS2.TD1.x_delayed,FF.And1.y,FF.And1.auxiliary[2],FF.And1.auxiliary_n,FF.And2.x[1],FF.And2.y,FF.And2.auxiliary[2],FF.And2.auxiliary_n,FF.And3.x[1],FF.And3.x[2],FF.And3.y,FF.And3.auxiliary_n,FF.And4.y,FF.And4.auxiliary_n,FF.Not1.auxiliary,Enable.y) * Number of discrete states: 23 (Enable.y,FF.Not1.auxiliary,FF.And4.auxiliary_n,FF.And3.auxiliary_n,FF.And2.auxiliary_n,FF.And1.auxiliary_n,FF.RS2.TD1.x,FF.RS2.Nor2.auxiliary_n,FF.RS2.Nor1.auxiliary_n,FF.RS1.TD1.x,FF.RS1.Nor2.auxiliary_n,FF.RS1.Nor1.auxiliary_n,D3.y,D2.y,MUX.Not2.auxiliary,MUX.Not1.auxiliary,MUX.And4.auxiliary_n,MUX.And3.auxiliary_n,MUX.And2.auxiliary_n,MUX.And1.auxiliary_n,MUX.Or1.auxiliary_n,D1.y,D0.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 1 * 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.000273/0.8524, allocations: 163.9 kB / 0.5176 GB, free: 96.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001348/0.8537, allocations: 1.043 MB / 0.5186 GB, free: 95.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.8537, allocations: 0 / 0.5186 GB, free: 95.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007519/0.8545, allocations: 0.6941 MB / 0.5193 GB, free: 95.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/0.8562, allocations: 484.7 kB / 0.5198 GB, free: 94.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/0.8585, allocations: 1.256 MB / 0.521 GB, free: 93.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005021/0.859, allocations: 0.9025 MB / 0.5219 GB, free: 92.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00296/0.8619, allocations: 1.5 MB / 0.5233 GB, free: 90.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001509/0.8635, allocations: 486.2 kB / 0.5238 GB, free: 90.52 MB / 378.7 MB Notification: Performance of SimCode: time 2.815e-06/0.8635, allocations: 0 / 0.5238 GB, free: 90.52 MB / 378.7 MB Notification: Performance of Templates: time 0.02435/0.8878, allocations: 17.65 MB / 0.541 GB, free: 72.57 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Multiplexer.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Multiplexer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Multiplexer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Multiplexer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Multiplexer.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Multiplexer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Multiplexer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Multiplexer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/Multiplexer/Multiplexer.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Multiplexer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches