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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0009418/0.000942, allocations: 93.33 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009045/0.0009052, allocations: 201.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.7 MB / 247.5 MB, free: 9.672 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002582/0.0002583, allocations: 8 kB / 308.4 MB, free: 0.6328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1022, allocations: 51.53 MB / 359.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.001777/0.1041, allocations: 1.288 MB / 361.2 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.1061, allocations: 0.9046 MB / 362.1 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.279e-05/0.1062, allocations: 3.938 kB / 362.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.116e-05/0.1063, allocations: 7.922 kB / 362.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.12e-05/0.1064, allocations: 27.84 kB / 362.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.1067, allocations: 43.91 kB / 362.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.1068, allocations: 127.7 kB / 362.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.107, allocations: 25.38 kB / 362.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007128/0.1077, allocations: 0.6317 MB / 363 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.1078, allocations: 87.61 kB / 363 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.285e-05/0.1079, allocations: 4 kB / 363.1 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.976e-05/0.1079, allocations: 4 kB / 363.1 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.108, allocations: 71.7 kB / 363.1 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.1082, allocations: 156.7 kB / 363.3 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003819/0.1086, allocations: 371.1 kB / 363.6 MB, free: 9.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1086, allocations: 0 / 363.6 MB, free: 9.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1086, allocations: 0 / 363.6 MB, free: 9.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.1086, allocations: 0 / 363.6 MB, free: 9.34 MB / 302.1 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.001157/0.1098, allocations: 0.7364 MB / 364.4 MB, free: 8.523 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.1099, allocations: 8.031 kB / 364.4 MB, free: 8.516 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.11, allocations: 48.38 kB / 364.4 MB, free: 8.469 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.1104, allocations: 294.2 kB / 364.7 MB, free: 8.141 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.1104, allocations: 4.375 kB / 364.7 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.1105, allocations: 12.36 kB / 364.7 MB, free: 8.125 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004086/0.1109, allocations: 177.8 kB / 364.9 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1109, allocations: 0 / 364.9 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.111, allocations: 4 kB / 364.9 MB, free: 7.941 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.111, allocations: 4 kB / 364.9 MB, free: 7.938 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.1112, allocations: 95.88 kB / 365 MB, free: 7.844 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009148/0.1121, allocations: 496.4 kB / 365.5 MB, free: 7.309 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.1123, allocations: 126.5 kB / 365.6 MB, free: 7.176 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.1125, allocations: 116.9 kB / 365.7 MB, free: 7.059 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.243e-06/0.1126, allocations: 0 / 365.7 MB, free: 7.059 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004333/0.113, allocations: 242.6 kB / 366 MB, free: 6.797 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.854e-06/0.113, allocations: 0 / 366 MB, free: 6.797 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.001001/0.114, allocations: 0.6181 MB / 366.6 MB, free: 6.145 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.1141, allocations: 195.9 kB / 366.8 MB, free: 5.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007326/0.1149, allocations: 0.56 MB / 367.3 MB, free: 5.344 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.1149, allocations: 37.69 kB / 367.4 MB, free: 5.301 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.389e-05/0.115, allocations: 113.1 kB / 367.5 MB, free: 5.188 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.1151, allocations: 27.62 kB / 367.5 MB, free: 5.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.755e-05/0.1151, allocations: 33.64 kB / 367.5 MB, free: 5.121 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1153, allocations: 330.8 kB / 367.9 MB, free: 4.789 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.1154, allocations: 83.95 kB / 368 MB, free: 4.707 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.1156, allocations: 97.61 kB / 368 MB, free: 4.605 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004178/0.116, allocations: 445.6 kB / 368.5 MB, free: 4.105 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.116, allocations: 0 / 368.5 MB, free: 4.105 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006775/0.1167, allocations: 0.4979 MB / 369 MB, free: 3.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.786e-05/0.1168, allocations: 152.5 kB / 369.1 MB, free: 3.391 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.1168, allocations: 0 / 369.1 MB, free: 3.391 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1169, allocations: 4 kB / 369.1 MB, free: 3.387 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.846e-05/0.1169, allocations: 0 / 369.1 MB, free: 3.387 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1169, allocations: 0 / 369.1 MB, free: 3.387 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.1171, allocations: 19.98 kB / 369.2 MB, free: 3.367 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.1172, allocations: 97.39 kB / 369.2 MB, free: 3.273 MB / 302.1 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,Input0.y,Select.y,Input1.y,Mux2x1.inertialDelaySensitive.t_next,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.x,$PRE.Mux2x1.inertialDelaySensitive.x,Mux2x1.yy,Mux2x1.nextstate,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003841/0.1176, allocations: 411.9 kB / 369.6 MB, free: 2.828 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.307e-05/0.1177, allocations: 43.44 kB / 369.7 MB, free: 2.785 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.1178, allocations: 67.48 kB / 369.8 MB, free: 2.715 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1178, allocations: 0 / 369.8 MB, free: 2.715 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.1178, allocations: 3.984 kB / 369.8 MB, free: 2.711 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.1178, allocations: 4 kB / 369.8 MB, free: 2.707 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.1189, allocations: 0.9672 MB / 370.7 MB, free: 1.652 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.119, allocations: 0 / 370.7 MB, free: 1.652 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.28e-06/0.119, allocations: 128 / 370.7 MB, free: 1.652 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.119, allocations: 4 kB / 370.7 MB, free: 1.648 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/0.119, allocations: 19.98 kB / 370.8 MB, free: 1.629 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.119, allocations: 0 / 370.8 MB, free: 1.629 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.119, allocations: 3.938 kB / 370.8 MB, free: 1.625 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007692/0.1198, allocations: 0.6634 MB / 371.4 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003215/0.1201, allocations: 252.3 kB / 371.7 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.692e-05/0.1202, allocations: 16 kB / 371.7 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.1204, allocations: 31.81 kB / 371.7 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.1206, allocations: 55.88 kB / 371.8 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.851e-05/0.1207, allocations: 105.2 kB / 371.9 MB, free: 452 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005008/0.1212, allocations: 418.8 kB / 372.3 MB, free: 32 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1212, allocations: 0 / 372.3 MB, free: 32 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.1652/0.2864, allocations: 46.55 kB / 372.3 MB, free: 19.58 MB / 302.1 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.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,Select.y,Input0.y) * Number of discrete states: 14 (Input1.y,Select.y,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002177/0.2867, allocations: 117.2 kB / 372.4 MB, free: 19.49 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000841/0.2875, allocations: 0.5341 MB / 373 MB, free: 19.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2875, allocations: 0 / 373 MB, free: 19.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004007/0.2879, allocations: 466.7 kB / 373.4 MB, free: 18.87 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.289, allocations: 165.6 kB / 373.6 MB, free: 18.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.2906, allocations: 0.9249 MB / 374.5 MB, free: 18.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.291, allocations: 0.8182 MB / 375.3 MB, free: 17.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.291, allocations: 12.03 kB / 375.3 MB, free: 17.65 MB / 302.1 MB Notification: Performance of SimCode: time 9.12e-07/0.291, allocations: 0 / 375.3 MB, free: 17.65 MB / 302.1 MB Notification: Performance of Templates: time 0.009293/0.3003, allocations: 4.262 MB / 379.6 MB, free: 17.17 MB / 302.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches