Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009702/0.0009703, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 226.5 MB / 245.4 MB, free: 8.242 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007865/0.0007866, allocations: 106.6 kB / 297.5 MB, free: 6.906 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002421/0.0002422, allocations: 4 kB / 358.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2231, allocations: 51.3 MB / 409.4 MB, free: 27.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.102/0.3251, allocations: 83.52 MB / 492.9 MB, free: 8.023 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.3254, allocations: 70.53 kB / 493 MB, free: 7.957 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2445/0.57, allocations: 28.05 MB / 0.5088 GB, free: 95.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.57, allocations: 0 / 0.5088 GB, free: 95.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.57, allocations: 5.656 kB / 0.5088 GB, free: 95.02 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008439/0.5709, allocations: 0.7509 MB / 0.5095 GB, free: 94.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.5709, allocations: 9.625 kB / 0.5096 GB, free: 94.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.5711, allocations: 42.47 kB / 0.5096 GB, free: 94.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.5714, allocations: 290.5 kB / 0.5099 GB, free: 94.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.5715, allocations: 9.312 kB / 0.5099 GB, free: 94.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.544e-05/0.5715, allocations: 10 kB / 0.5099 GB, free: 94.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.5719, allocations: 170.1 kB / 0.5101 GB, free: 94.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.5719, allocations: 0.9375 kB / 0.5101 GB, free: 94.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.5719, allocations: 9 kB / 0.5101 GB, free: 94.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.5719, allocations: 1.312 kB / 0.5101 GB, free: 94.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.5721, allocations: 90.38 kB / 0.5101 GB, free: 94.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007125/0.5728, allocations: 0.4922 MB / 0.5106 GB, free: 93.83 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.5731, allocations: 123.8 kB / 0.5107 GB, free: 93.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/0.5733, allocations: 116.1 kB / 0.5109 GB, free: 93.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.5734, allocations: 5.031 kB / 0.5109 GB, free: 93.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003705/0.5737, allocations: 246.5 kB / 0.5111 GB, free: 93.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.5737, allocations: 0 / 0.5111 GB, free: 93.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.001023/0.5748, allocations: 0.6164 MB / 0.5117 GB, free: 93.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/0.5749, allocations: 193.6 kB / 0.5119 GB, free: 93.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006464/0.5755, allocations: 0.5618 MB / 0.5124 GB, free: 93.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.5755, allocations: 33.64 kB / 0.5125 GB, free: 93.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.5756, allocations: 116.4 kB / 0.5126 GB, free: 92.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.5757, allocations: 33.89 kB / 0.5126 GB, free: 92.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.762e-05/0.5757, allocations: 3.719 kB / 0.5126 GB, free: 92.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.161e-05/0.5757, allocations: 329.3 kB / 0.5129 GB, free: 92.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.5759, allocations: 82 kB / 0.513 GB, free: 92.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.576, allocations: 102.1 kB / 0.5131 GB, free: 92.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.5763, allocations: 434.3 kB / 0.5135 GB, free: 92.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5763, allocations: 2.406 kB / 0.5135 GB, free: 92.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005219/0.5769, allocations: 0.5004 MB / 0.514 GB, free: 92.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.783e-05/0.5769, allocations: 149 kB / 0.5141 GB, free: 91.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.577, allocations: 0 / 0.5141 GB, free: 91.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.577, allocations: 0 / 0.5141 GB, free: 91.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.756e-05/0.577, allocations: 7.062 kB / 0.5142 GB, free: 91.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.577, allocations: 3.094 kB / 0.5142 GB, free: 91.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.5772, allocations: 25.81 kB / 0.5142 GB, free: 91.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.011e-05/0.5773, allocations: 98.3 kB / 0.5143 GB, free: 91.89 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.Mux2x1.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,Mux2x1.sel,Mux2x1.nextstate,Mux2x1.yy,$PRE.Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.t_next,Input1.y,Input0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 3 * 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.00027/0.5775, allocations: 408.5 kB / 0.5147 GB, free: 91.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.911e-05/0.5776, allocations: 44.94 kB / 0.5147 GB, free: 91.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.989e-05/0.5777, allocations: 66.89 kB / 0.5148 GB, free: 91.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.5777, allocations: 3.656 kB / 0.5148 GB, free: 91.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5777, allocations: 0 / 0.5148 GB, free: 91.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.5777, allocations: 0 / 0.5148 GB, free: 91.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008541/0.5786, allocations: 0.9684 MB / 0.5157 GB, free: 90.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.5786, allocations: 0 / 0.5157 GB, free: 90.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.382e-06/0.5786, allocations: 3.875 kB / 0.5157 GB, free: 90.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.5786, allocations: 0 / 0.5157 GB, free: 90.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.5786, allocations: 19.55 kB / 0.5157 GB, free: 90.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.5786, allocations: 0 / 0.5157 GB, free: 90.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5786, allocations: 0 / 0.5157 GB, free: 90.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005798/0.5792, allocations: 0.6641 MB / 0.5164 GB, free: 90.51 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002499/0.5795, allocations: 259.8 kB / 0.5166 GB, free: 90.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.839e-05/0.5796, allocations: 11.81 kB / 0.5167 GB, free: 90.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.5797, allocations: 19.31 kB / 0.5167 GB, free: 90.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.5798, allocations: 57.59 kB / 0.5167 GB, free: 90.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.887e-05/0.5799, allocations: 102.2 kB / 0.5168 GB, free: 90.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003997/0.5803, allocations: 423.7 kB / 0.5172 GB, free: 90.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5803, allocations: 0 / 0.5172 GB, free: 90.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000282/0.5806, allocations: 49.81 kB / 0.5173 GB, free: 90.08 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: 14 ($whenCondition1,$whenCondition2,Mux2x1.sel,Mux2x1.nextstate,Mux2x1.yy,Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.t_next,Input1.y,Input0.y) * Number of discrete states: 14 (Input1.y,Mux2x1.sel,Input0.y,Mux2x1.yy,Mux2x1.nextstate,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.t_next,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,Mux2x1.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0001153/0.5808, allocations: 117.6 kB / 0.5174 GB, free: 89.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004395/0.5812, allocations: 0.5362 MB / 0.5179 GB, free: 89.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5812, allocations: 0 / 0.5179 GB, free: 89.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002663/0.5815, allocations: 466 kB / 0.5184 GB, free: 89.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006804/0.5822, allocations: 156.4 kB / 0.5185 GB, free: 89.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009917/0.5832, allocations: 0.8413 MB / 0.5193 GB, free: 88.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.5835, allocations: 0.8158 MB / 0.5201 GB, free: 87.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.34e-05/0.5835, allocations: 8.328 kB / 0.5201 GB, free: 87.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.821e-05/0.5836, allocations: 10.44 kB / 0.5201 GB, free: 87.91 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5836, allocations: 3.375 kB / 0.5201 GB, free: 87.91 MB / 378.7 MB Notification: Performance of Templates: time 0.00863/0.5922, allocations: 6.632 MB / 0.5266 GB, free: 84.29 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches