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.001053/0.001053, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.181/1.181, allocations: 227.2 MB / 245 MB, free: 5.855 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007995/0.0007995, allocations: 97.34 kB / 297.3 MB, free: 5.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002052/0.0002052, allocations: 8 kB / 357.9 MB, free: 9.316 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1868, allocations: 51.49 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09093/0.2778, allocations: 83.59 MB / 493 MB, free: 7.012 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/0.278, allocations: 75.95 kB / 493.1 MB, free: 6.938 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.214/0.492, allocations: 28.04 MB / 0.5089 GB, free: 94.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.492, allocations: 0 / 0.5089 GB, free: 94.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.492, allocations: 4.125 kB / 0.5089 GB, free: 94.7 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.0006166/0.4927, allocations: 0.7572 MB / 0.5097 GB, free: 94.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.4927, allocations: 13.12 kB / 0.5097 GB, free: 94.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.963e-05/0.4928, allocations: 44.69 kB / 0.5097 GB, free: 94.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.4931, allocations: 280.7 kB / 0.51 GB, free: 93.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.4932, allocations: 5.594 kB / 0.51 GB, free: 93.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.4932, allocations: 12.3 kB / 0.51 GB, free: 93.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000356/0.4936, allocations: 167 kB / 0.5102 GB, free: 93.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.4936, allocations: 0 / 0.5102 GB, free: 93.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.4936, allocations: 4.375 kB / 0.5102 GB, free: 93.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.4936, allocations: 1.031 kB / 0.5102 GB, free: 93.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/0.4938, allocations: 90.08 kB / 0.5102 GB, free: 93.81 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006579/0.4945, allocations: 0.4981 MB / 0.5107 GB, free: 93.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.4947, allocations: 119.9 kB / 0.5108 GB, free: 93.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.4948, allocations: 1.469 kB / 0.5108 GB, free: 93.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003004/0.4951, allocations: 242.4 kB / 0.5111 GB, free: 93.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.4951, allocations: 3.844 kB / 0.5111 GB, free: 93.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008424/0.4959, allocations: 0.7457 MB / 0.5118 GB, free: 92.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.496, allocations: 191 kB / 0.512 GB, free: 92.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004527/0.4964, allocations: 0.4971 MB / 0.5125 GB, free: 92.58 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.4965, allocations: 35.38 kB / 0.5125 GB, free: 92.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.4965, allocations: 113.9 kB / 0.5126 GB, free: 92.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.4966, allocations: 41.61 kB / 0.5127 GB, free: 92.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.4966, allocations: 0 / 0.5127 GB, free: 92.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.086e-05/0.4967, allocations: 334 kB / 0.513 GB, free: 92.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.4968, allocations: 78.28 kB / 0.5131 GB, free: 92.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.4969, allocations: 98 kB / 0.5131 GB, free: 92.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.4971, allocations: 221.2 kB / 0.5134 GB, free: 91.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4971, allocations: 0 / 0.5134 GB, free: 91.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004957/0.4976, allocations: 484.6 kB / 0.5138 GB, free: 91.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.375e-05/0.4977, allocations: 157.2 kB / 0.514 GB, free: 91.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.4977, allocations: 0 / 0.514 GB, free: 91.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.4977, allocations: 112 / 0.514 GB, free: 91.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.751e-05/0.4977, allocations: 3.938 kB / 0.514 GB, free: 91.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.4977, allocations: 3.969 kB / 0.514 GB, free: 91.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.4979, allocations: 15.72 kB / 0.514 GB, free: 91.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.52e-05/0.498, allocations: 100.2 kB / 0.5141 GB, free: 91.43 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.0002604/0.4982, allocations: 416.8 kB / 0.5145 GB, free: 91.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.776e-05/0.4983, allocations: 39.31 kB / 0.5145 GB, free: 91.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.794e-05/0.4984, allocations: 67 kB / 0.5146 GB, free: 91.03 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.4984, allocations: 3.656 kB / 0.5146 GB, free: 91.03 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.4984, allocations: 3.938 kB / 0.5146 GB, free: 91.03 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.4984, allocations: 3.938 kB / 0.5146 GB, free: 91.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008176/0.4992, allocations: 0.9345 MB / 0.5155 GB, free: 90.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4992, allocations: 3.984 kB / 0.5155 GB, free: 90.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.1e-06/0.4992, allocations: 4 kB / 0.5155 GB, free: 90.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.4992, allocations: 4 kB / 0.5155 GB, free: 90.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/0.4993, allocations: 19.25 kB / 0.5155 GB, free: 90.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4993, allocations: 0 / 0.5155 GB, free: 90.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4993, allocations: 3.984 kB / 0.5155 GB, free: 90.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000552/0.4999, allocations: 0.6397 MB / 0.5162 GB, free: 89.99 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002737/0.5001, allocations: 257.3 kB / 0.5164 GB, free: 89.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.917e-05/0.5002, allocations: 11.81 kB / 0.5164 GB, free: 89.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.5004, allocations: 22.11 kB / 0.5164 GB, free: 89.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.5005, allocations: 55.28 kB / 0.5165 GB, free: 89.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.736e-05/0.5006, allocations: 96.75 kB / 0.5166 GB, free: 89.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003571/0.5009, allocations: 422.4 kB / 0.517 GB, free: 89.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5009, allocations: 0 / 0.517 GB, free: 89.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002686/0.5012, allocations: 52.47 kB / 0.517 GB, free: 89.57 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.00011/0.5013, allocations: 111.9 kB / 0.5171 GB, free: 89.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004414/0.5018, allocations: 0.5474 MB / 0.5177 GB, free: 89.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.5018, allocations: 0 / 0.5177 GB, free: 89.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.502, allocations: 461.8 kB / 0.5181 GB, free: 88.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005809/0.5026, allocations: 161.3 kB / 0.5183 GB, free: 88.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008882/0.5035, allocations: 0.8305 MB / 0.5191 GB, free: 88.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.5038, allocations: 0.8275 MB / 0.5199 GB, free: 87.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.416e-05/0.5038, allocations: 8.172 kB / 0.5199 GB, free: 87.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.567e-05/0.5039, allocations: 14.59 kB / 0.5199 GB, free: 87.39 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5039, allocations: 0 / 0.5199 GB, free: 87.39 MB / 378.7 MB Notification: Performance of Templates: time 0.006787/0.5107, allocations: 6.597 MB / 0.5264 GB, free: 83.17 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/jenkins/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