Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.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.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001876/0.001875, allocations: 182.2 kB / 17.02 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.048/2.048, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.001051/0.001051, allocations: 96.05 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003098/0.0003097, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3755, allocations: 47.57 MB / 375.8 MB, free: 45.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.138/0.5136, allocations: 81.89 MB / 457.7 MB, free: 14.76 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/0.514, allocations: 71.95 kB / 457.8 MB, free: 14.69 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05774/0.5717, allocations: 27.64 MB / 485.4 MB, free: 3.129 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.5718, allocations: 0 / 485.4 MB, free: 3.129 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.5718, allocations: 4 kB / 485.4 MB, free: 3.125 MB / 362.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.0009766/0.5728, allocations: 0.7515 MB / 486.2 MB, free: 2.293 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.552e-05/0.5729, allocations: 12.03 kB / 486.2 MB, free: 2.281 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.573, allocations: 43.44 kB / 486.2 MB, free: 2.238 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004466/0.5735, allocations: 273.4 kB / 486.5 MB, free: 1.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.5735, allocations: 4 kB / 486.5 MB, free: 1.926 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/0.5735, allocations: 12 kB / 486.5 MB, free: 1.914 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004237/0.574, allocations: 169.5 kB / 486.7 MB, free: 1.742 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.574, allocations: 0 / 486.7 MB, free: 1.742 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/0.574, allocations: 4 kB / 486.7 MB, free: 1.738 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.574, allocations: 0 / 486.7 MB, free: 1.738 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.5742, allocations: 83.95 kB / 486.8 MB, free: 1.656 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009405/0.5752, allocations: 0.4965 MB / 487.3 MB, free: 1.109 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/0.5754, allocations: 118.5 kB / 487.4 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.5755, allocations: 7.984 kB / 487.4 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003857/0.5759, allocations: 258.6 kB / 487.6 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.5759, allocations: 0 / 487.6 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.001201/0.5771, allocations: 0.7462 MB / 488.4 MB, free: 15.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000147/0.5772, allocations: 199.9 kB / 488.6 MB, free: 15.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007211/0.578, allocations: 0.4967 MB / 489.1 MB, free: 15.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.409e-05/0.578, allocations: 33.7 kB / 489.1 MB, free: 15.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.5781, allocations: 113.2 kB / 489.2 MB, free: 14.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.071e-05/0.5782, allocations: 39.5 kB / 489.3 MB, free: 14.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.5782, allocations: 8 kB / 489.3 MB, free: 14.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.5784, allocations: 330.8 kB / 489.6 MB, free: 14.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.5786, allocations: 75.97 kB / 489.7 MB, free: 14.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.5788, allocations: 101.7 kB / 489.8 MB, free: 14.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.579, allocations: 208.6 kB / 490 MB, free: 14.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.579, allocations: 0 / 490 MB, free: 14.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006845/0.5797, allocations: 497.9 kB / 490.4 MB, free: 13.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.5799, allocations: 148.5 kB / 490.6 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.5799, allocations: 0 / 490.6 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.5799, allocations: 0 / 490.6 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.569e-05/0.5799, allocations: 0 / 490.6 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.5799, allocations: 4 kB / 490.6 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.5801, allocations: 19.94 kB / 490.6 MB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/0.5803, allocations: 105.2 kB / 490.7 MB, free: 13.37 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.000411/0.5807, allocations: 400 kB / 491.1 MB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.458e-05/0.5808, allocations: 43.53 kB / 491.1 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.5809, allocations: 71.47 kB / 491.2 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.5809, allocations: 0 / 491.2 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.5809, allocations: 0 / 491.2 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5809, allocations: 0 / 491.2 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.5822, allocations: 0.9321 MB / 492.2 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.5822, allocations: 4 kB / 492.2 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.129e-05/0.5822, allocations: 3.984 kB / 492.2 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.5822, allocations: 3.938 kB / 492.2 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.976e-05/0.5823, allocations: 23.98 kB / 492.2 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.5823, allocations: 0 / 492.2 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.5823, allocations: 0 / 492.2 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008572/0.5832, allocations: 0.6323 MB / 492.8 MB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004595/0.5837, allocations: 252.4 kB / 493.1 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.992e-05/0.5837, allocations: 12 kB / 493.1 MB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.5839, allocations: 15.98 kB / 493.1 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/0.5841, allocations: 63.92 kB / 493.2 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/0.5843, allocations: 101.4 kB / 493.3 MB, free: 10.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000613/0.5849, allocations: 426.8 kB / 493.7 MB, free: 10.22 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5849, allocations: 0 / 493.7 MB, free: 10.22 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003667/0.5853, allocations: 48 kB / 493.7 MB, free: 10.17 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.0002425/0.5855, allocations: 123.1 kB / 493.8 MB, free: 10.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008889/0.5864, allocations: 0.536 MB / 494.4 MB, free: 9.441 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5864, allocations: 4.062 kB / 494.4 MB, free: 9.438 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004932/0.5869, allocations: 468.9 kB / 494.8 MB, free: 8.918 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007693/0.5877, allocations: 164.8 kB / 495 MB, free: 8.762 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.5893, allocations: 0.8374 MB / 495.8 MB, free: 7.895 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006067/0.5899, allocations: 0.8341 MB / 496.7 MB, free: 7.035 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001004/0.59, allocations: 16.47 kB / 496.7 MB, free: 7.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.312e-05/0.5901, allocations: 11.44 kB / 496.7 MB, free: 7.008 MB / 378.7 MB Notification: Performance of SimCode: time 8.31e-07/0.5901, allocations: 0 / 496.7 MB, free: 7.008 MB / 378.7 MB Notification: Performance of Templates: time 0.0115/0.6016, allocations: 6.585 MB / 0.4915 GB, free: 260 kB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches