Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002291/0.002291, allocations: 180.5 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.527/3.527, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.001294/0.001294, allocations: 74.44 kB / 271.9 MB, free: 8.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005808/0.0005813, allocations: 8 kB / 328.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5816/0.5822, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1981/0.7804, allocations: 83.32 MB / 459 MB, free: 13.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003402/0.7808, allocations: 67.97 kB / 459.1 MB, free: 13.26 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9011/1.682, allocations: 54.87 MB / 0.5019 GB, free: 102.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.48e-06/1.682, allocations: 0 / 0.5019 GB, free: 102.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.902e-05/1.682, allocations: 20.5 kB / 0.5019 GB, free: 102.2 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.002835/1.685, allocations: 1.014 MB / 0.5029 GB, free: 101.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.957e-05/1.685, allocations: 9.156 kB / 0.5029 GB, free: 101.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003882/1.685, allocations: 76.59 kB / 0.503 GB, free: 101.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/1.687, allocations: 481.3 kB / 0.5035 GB, free: 101.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-05/1.687, allocations: 42.72 kB / 0.5035 GB, free: 101.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002764/1.687, allocations: 64.12 kB / 0.5036 GB, free: 101.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002527/1.689, allocations: 0.8436 MB / 0.5044 GB, free: 101.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/1.69, allocations: 192 / 0.5044 GB, free: 101.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001931/1.69, allocations: 28.34 kB / 0.5044 GB, free: 101.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.721e-05/1.69, allocations: 17.66 kB / 0.5044 GB, free: 101.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/1.692, allocations: 0.6498 MB / 0.5051 GB, free: 101.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005166/1.697, allocations: 1.696 MB / 0.5067 GB, free: 100.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002081/1.699, allocations: 0.602 MB / 0.5073 GB, free: 100.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009422/1.7, allocations: 306.6 kB / 0.5076 GB, free: 100.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001793/1.701, allocations: 12.38 kB / 0.5076 GB, free: 100.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004267/1.705, allocations: 0.5758 MB / 0.5082 GB, free: 100.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 5.641e-06/1.705, allocations: 0 / 0.5082 GB, free: 100.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.003952/1.709, allocations: 1.303 MB / 0.5095 GB, free: 100.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001843/1.709, allocations: 197.6 kB / 0.5096 GB, free: 100.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009675/1.71, allocations: 407.6 kB / 0.51 GB, free: 100.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001869/1.71, allocations: 48.56 kB / 0.5101 GB, free: 100.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002486/1.711, allocations: 235.4 kB / 0.5103 GB, free: 99.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002576/1.711, allocations: 132.1 kB / 0.5104 GB, free: 99.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/1.711, allocations: 19.28 kB / 0.5105 GB, free: 99.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/1.711, allocations: 362 kB / 0.5108 GB, free: 99.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009575/1.712, allocations: 307.8 kB / 0.5111 GB, free: 99.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005393/1.718, allocations: 389.3 kB / 0.5115 GB, free: 99.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00256/1.72, allocations: 0.9631 MB / 0.5124 GB, free: 98.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.848e-06/1.72, allocations: 3.219 kB / 0.5124 GB, free: 98.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.003268/1.724, allocations: 1.139 MB / 0.5135 GB, free: 98.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001266/1.724, allocations: 143.8 kB / 0.5137 GB, free: 98.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/1.724, allocations: 8 kB / 0.5137 GB, free: 98.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.128e-05/1.724, allocations: 7.875 kB / 0.5137 GB, free: 98.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/1.724, allocations: 107.7 kB / 0.5138 GB, free: 98.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-05/1.724, allocations: 3.938 kB / 0.5138 GB, free: 98.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/1.725, allocations: 86.64 kB / 0.5139 GB, free: 98.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009454/1.726, allocations: 0.5653 MB / 0.5144 GB, free: 98.1 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.001118/1.727, allocations: 451.7 kB / 0.5148 GB, free: 97.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003052/1.728, allocations: 46 kB / 0.5149 GB, free: 97.72 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/1.728, allocations: 52.39 kB / 0.5149 GB, free: 97.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/1.728, allocations: 7.875 kB / 0.5149 GB, free: 97.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.722e-05/1.728, allocations: 4 kB / 0.5149 GB, free: 97.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/1.728, allocations: 3.469 kB / 0.515 GB, free: 97.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/1.73, allocations: 0.6684 MB / 0.5156 GB, free: 97.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/1.73, allocations: 0 / 0.5156 GB, free: 97.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/1.73, allocations: 96.78 kB / 0.5157 GB, free: 97.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-05/1.73, allocations: 2.219 kB / 0.5157 GB, free: 97.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002154/1.73, allocations: 93.44 kB / 0.5158 GB, free: 97.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.235e-05/1.73, allocations: 3.75 kB / 0.5158 GB, free: 97.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.73, allocations: 2.625 kB / 0.5158 GB, free: 97.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007577/1.738, allocations: 1.071 MB / 0.5168 GB, free: 96.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/1.739, allocations: 255 kB / 0.5171 GB, free: 96.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003605/1.74, allocations: 27.75 kB / 0.5171 GB, free: 96.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007567/1.74, allocations: 73.31 kB / 0.5172 GB, free: 96.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006113/1.741, allocations: 155.1 kB / 0.5173 GB, free: 96.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009458/1.742, allocations: 0.5583 MB / 0.5179 GB, free: 96.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005231/1.743, allocations: 251.6 kB / 0.5181 GB, free: 96.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1.743, allocations: 0 / 0.5181 GB, free: 96.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0013/1.744, allocations: 142.5 kB / 0.5182 GB, free: 96.14 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.0004198/1.744, allocations: 171.4 kB / 0.5184 GB, free: 95.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002717/1.747, allocations: 1.043 MB / 0.5194 GB, free: 94.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.799e-06/1.747, allocations: 0.5625 kB / 0.5194 GB, free: 94.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001311/1.748, allocations: 0.6871 MB / 0.5201 GB, free: 94.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003108/1.752, allocations: 0.4929 MB / 0.5206 GB, free: 93.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007805/1.759, allocations: 1.301 MB / 0.5219 GB, free: 92.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005317/1.76, allocations: 0.8941 MB / 0.5227 GB, free: 91.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003886/1.764, allocations: 0.6735 MB / 0.5234 GB, free: 90.72 MB / 378.7 MB Notification: Performance of SimCode: time 1.252e-06/1.764, allocations: 0 / 0.5234 GB, free: 90.72 MB / 378.7 MB Notification: Performance of Templates: time 0.03286/1.797, allocations: 14.57 MB / 0.5376 GB, free: 75.57 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Multiplexer.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Multiplexer.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Multiplexer.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Multiplexer.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Multiplexer.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Multiplexer --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Multiplexer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Multiplexer_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Digital.Examples.Multiplexer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches