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.001436/0.001436, allocations: 183.8 kB / 18.04 MB, free: 3.781 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.558/1.558, allocations: 205.4 MB / 224.2 MB, free: 9.047 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.0007997/0.0007997, allocations: 89.61 kB / 272.5 MB, free: 8.277 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003498, allocations: 16 kB / 329.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2378, allocations: 47.57 MB / 377 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09291/0.3307, allocations: 83.31 MB / 460.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.331, allocations: 71.95 kB / 460.4 MB, free: 13.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2814/0.6124, allocations: 54.86 MB / 0.5032 GB, free: 102.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.796e-06/0.6124, allocations: 0 / 0.5032 GB, free: 102.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.031e-05/0.6125, allocations: 24.06 kB / 0.5032 GB, free: 102.5 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.00193/0.6144, allocations: 1.013 MB / 0.5042 GB, free: 101.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.6145, allocations: 10.75 kB / 0.5042 GB, free: 101.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003481/0.6149, allocations: 75.25 kB / 0.5043 GB, free: 101.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007953/0.6157, allocations: 480.2 kB / 0.5047 GB, free: 101.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.765e-05/0.6157, allocations: 45.62 kB / 0.5048 GB, free: 101.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.6159, allocations: 63.25 kB / 0.5048 GB, free: 101.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.6173, allocations: 0.8414 MB / 0.5057 GB, free: 101.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.6173, allocations: 3.938 kB / 0.5057 GB, free: 101.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.6174, allocations: 25.53 kB / 0.5057 GB, free: 101.6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.6175, allocations: 15.03 kB / 0.5057 GB, free: 101.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.6186, allocations: 0.6576 MB / 0.5064 GB, free: 101.6 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002668/0.6213, allocations: 1.694 MB / 0.508 GB, free: 101.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009845/0.6223, allocations: 0.5992 MB / 0.5086 GB, free: 101.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005073/0.6228, allocations: 311.7 kB / 0.5089 GB, free: 101.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-05/0.6229, allocations: 6.688 kB / 0.5089 GB, free: 101.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008142/0.6237, allocations: 0.5759 MB / 0.5095 GB, free: 101.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 4.839e-06/0.6238, allocations: 4 kB / 0.5095 GB, free: 101.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.002013/0.6258, allocations: 1.301 MB / 0.5107 GB, free: 100.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.677e-05/0.6259, allocations: 197.4 kB / 0.5109 GB, free: 100.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004224/0.6263, allocations: 409.8 kB / 0.5113 GB, free: 100.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.787e-05/0.6264, allocations: 48.64 kB / 0.5114 GB, free: 100.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.6266, allocations: 239.8 kB / 0.5116 GB, free: 100.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.6268, allocations: 128.8 kB / 0.5117 GB, free: 100.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.107e-05/0.6269, allocations: 14.56 kB / 0.5117 GB, free: 100.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.627, allocations: 361.7 kB / 0.5121 GB, free: 99.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005216/0.6275, allocations: 315.2 kB / 0.5124 GB, free: 99.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005516/0.6281, allocations: 391.1 kB / 0.5127 GB, free: 99.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.6292, allocations: 0.9539 MB / 0.5137 GB, free: 99.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.6293, allocations: 0 / 0.5137 GB, free: 99.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001587/0.6308, allocations: 1.146 MB / 0.5148 GB, free: 98.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.961e-05/0.6309, allocations: 145.5 kB / 0.5149 GB, free: 98.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.6309, allocations: 7.875 kB / 0.5149 GB, free: 98.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.631, allocations: 2.812 kB / 0.5149 GB, free: 98.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.6312, allocations: 109.9 kB / 0.515 GB, free: 98.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.6312, allocations: 7.781 kB / 0.5151 GB, free: 98.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004648/0.6317, allocations: 80.27 kB / 0.5151 GB, free: 98.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004453/0.6321, allocations: 0.5672 MB / 0.5157 GB, free: 98.4 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.0004866/0.6326, allocations: 452.3 kB / 0.5161 GB, free: 98.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.6327, allocations: 46.59 kB / 0.5162 GB, free: 98.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.065e-05/0.6328, allocations: 53.64 kB / 0.5162 GB, free: 97.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.6328, allocations: 5.219 kB / 0.5162 GB, free: 97.99 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.6328, allocations: 3.031 kB / 0.5162 GB, free: 97.99 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.6329, allocations: 0 / 0.5162 GB, free: 97.99 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006909/0.6336, allocations: 0.6689 MB / 0.5169 GB, free: 97.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.6336, allocations: 0 / 0.5169 GB, free: 97.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.6337, allocations: 104.2 kB / 0.517 GB, free: 97.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.6337, allocations: 2.688 kB / 0.517 GB, free: 97.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/0.6339, allocations: 90.64 kB / 0.5171 GB, free: 97.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.6339, allocations: 2.5 kB / 0.5171 GB, free: 97.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6339, allocations: 3.938 kB / 0.5171 GB, free: 97.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.6353, allocations: 1.076 MB / 0.5181 GB, free: 97.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003323/0.6357, allocations: 255.1 kB / 0.5184 GB, free: 96.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.6358, allocations: 24.59 kB / 0.5184 GB, free: 96.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003044/0.6361, allocations: 66.05 kB / 0.5184 GB, free: 96.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002863/0.6364, allocations: 158.2 kB / 0.5186 GB, free: 96.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003935/0.6368, allocations: 0.5581 MB / 0.5191 GB, free: 96.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002018/0.637, allocations: 263 kB / 0.5194 GB, free: 96.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.637, allocations: 0 / 0.5194 GB, free: 96.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005193/0.6376, allocations: 140 kB / 0.5195 GB, free: 96.09 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.0002241/0.6378, allocations: 172.9 kB / 0.5197 GB, free: 95.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001271/0.6391, allocations: 1.043 MB / 0.5207 GB, free: 94.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6391, allocations: 128 / 0.5207 GB, free: 94.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006609/0.6397, allocations: 0.6976 MB / 0.5214 GB, free: 94.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/0.6413, allocations: 485.9 kB / 0.5219 GB, free: 93.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.6429, allocations: 1.248 MB / 0.5231 GB, free: 92.33 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.6432, allocations: 0.8946 MB / 0.524 GB, free: 91.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002184/0.6454, allocations: 1.5 MB / 0.5254 GB, free: 89.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001334/0.6468, allocations: 482.2 kB / 0.5259 GB, free: 89.44 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.6468, allocations: 0 / 0.5259 GB, free: 89.44 MB / 378.7 MB Notification: Performance of Templates: time 0.01849/0.6653, allocations: 17.9 MB / 0.5434 GB, free: 71.24 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/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_Modelica.Electrical.Digital.Examples.Multiplexer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches