Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=500,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001333/0.001333, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001289/0.001289, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.49/1.49, allocations: 230.4 MB / 251.1 MB, free: 8.465 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 59.84 kB / 368.9 MB, free: 6.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.298, allocations: 53.32 MB / 422.3 MB, free: 7.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.003318/0.3013, allocations: 1.576 MB / 423.8 MB, free: 6.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002548/0.3038, allocations: 0.9043 MB / 424.7 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.802e-05/0.3039, allocations: 0 / 424.7 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001399/0.3041, allocations: 15.86 kB / 424.8 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.3042, allocations: 23.8 kB / 424.8 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.3046, allocations: 51.88 kB / 424.8 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002904/0.3048, allocations: 159.7 kB / 425 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.305, allocations: 25.38 kB / 425 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008971/0.3059, allocations: 0.6317 MB / 425.6 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.3061, allocations: 83.67 kB / 425.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.47e-05/0.3062, allocations: 12 kB / 425.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.076e-05/0.3062, allocations: 12 kB / 425.8 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.3063, allocations: 75.69 kB / 425.8 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.3065, allocations: 127 kB / 426 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005617/0.3071, allocations: 461.6 kB / 426.4 MB, free: 3.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3071, allocations: 0 / 426.4 MB, free: 3.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3071, allocations: 0 / 426.4 MB, free: 3.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.3071, allocations: 4 kB / 426.4 MB, free: 3.676 MB / 334.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.001067/0.3081, allocations: 0.8255 MB / 427.2 MB, free: 2.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.3082, allocations: 8.031 kB / 427.2 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.652e-05/0.3083, allocations: 48.66 kB / 427.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.3087, allocations: 298.5 kB / 427.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.3087, allocations: 8.375 kB / 427.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.069e-05/0.3087, allocations: 12.38 kB / 427.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003973/0.3091, allocations: 161.9 kB / 427.8 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3091, allocations: 4 kB / 427.8 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.637e-05/0.3092, allocations: 15.98 kB / 427.8 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3092, allocations: 3.938 kB / 427.8 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.3094, allocations: 91.83 kB / 427.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008348/0.3102, allocations: 0.4965 MB / 428.4 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.3104, allocations: 102.5 kB / 428.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.3106, allocations: 88.88 kB / 428.6 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.3106, allocations: 4 kB / 428.6 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004872/0.3111, allocations: 245.8 kB / 428.8 MB, free: 1.074 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.3111, allocations: 4 kB / 428.8 MB, free: 1.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.001113/0.3122, allocations: 0.6071 MB / 429.4 MB, free: 436 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001581/0.3124, allocations: 195.9 kB / 429.6 MB, free: 196 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007554/0.3131, allocations: 0.564 MB / 430.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/0.3132, allocations: 29.7 kB / 430.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.132e-05/0.3133, allocations: 117.1 kB / 430.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.47e-05/0.3133, allocations: 31.81 kB / 430.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.3135, allocations: 101.5 kB / 430.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3136, allocations: 330.8 kB / 430.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.3138, allocations: 79.95 kB / 430.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.314, allocations: 101.6 kB / 430.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004498/0.3144, allocations: 441.5 kB / 431.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3144, allocations: 0 / 431.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007066/0.3151, allocations: 0.5057 MB / 431.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001361/0.3153, allocations: 152.5 kB / 432 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.3153, allocations: 0 / 432 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.3153, allocations: 0 / 432 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.007e-05/0.3153, allocations: 0 / 432 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.3153, allocations: 4 kB / 432 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.3155, allocations: 11.98 kB / 432 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.3156, allocations: 101.4 kB / 432.1 MB, free: 13.47 MB / 350.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.0004032/0.316, allocations: 404 kB / 432.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.624e-05/0.3161, allocations: 51.69 kB / 432.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.3162, allocations: 71.47 kB / 432.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3162, allocations: 0 / 432.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3162, allocations: 0 / 432.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.3162, allocations: 4 kB / 432.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.3174, allocations: 0.9595 MB / 433.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3174, allocations: 4 kB / 433.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.308e-06/0.3174, allocations: 0 / 433.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3174, allocations: 0 / 433.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.98e-05/0.3175, allocations: 23.98 kB / 433.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3175, allocations: 0 / 433.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3175, allocations: 3.938 kB / 433.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008417/0.3183, allocations: 0.6636 MB / 434.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003487/0.3186, allocations: 268.5 kB / 434.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.765e-05/0.3187, allocations: 15.94 kB / 434.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.3189, allocations: 15.98 kB / 434.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.319, allocations: 55.88 kB / 434.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/0.3191, allocations: 109.3 kB / 434.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005147/0.3197, allocations: 418.9 kB / 435.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3197, allocations: 0 / 435.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000303/0.32, allocations: 48 kB / 435.2 MB, free: 10.2 MB / 350.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.0001594/0.3201, allocations: 115.2 kB / 435.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006299/0.3208, allocations: 492.8 kB / 435.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3208, allocations: 0 / 435.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003791/0.3211, allocations: 388.9 kB / 436.2 MB, free: 9.098 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007706/0.3219, allocations: 185.5 kB / 436.4 MB, free: 8.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.3232, allocations: 0.7595 MB / 437.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005157/0.3237, allocations: 0.8183 MB / 438 MB, free: 7.301 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.172e-05/0.3237, allocations: 12.88 kB / 438 MB, free: 7.285 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/0.3238, allocations: 15.42 kB / 438 MB, free: 7.27 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3238, allocations: 0 / 438 MB, free: 7.27 MB / 350.1 MB Notification: Performance of Templates: time 0.01191/0.3357, allocations: 7.495 MB / 445.5 MB, free: 15.65 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches