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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00156/0.00156, allocations: 119.5 kB / 21.17 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001662/0.001662, allocations: 213.5 kB / 24.47 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.424/1.424, allocations: 230.4 MB / 258.1 MB, free: 8.145 MB / 206.1 MB " [Timeout remaining time 178] 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=5014,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=5014,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1") [Timeout 660] "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.001936/0.001936, allocations: 75.81 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2838, allocations: 53.31 MB / 432 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.003068/0.2869, allocations: 1.584 MB / 433.6 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.289, allocations: 0.9082 MB / 434.5 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.291e-05/0.289, allocations: 0 / 434.5 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.978e-05/0.2891, allocations: 11.86 kB / 434.5 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.851e-05/0.2892, allocations: 31.78 kB / 434.6 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.2895, allocations: 51.88 kB / 434.6 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002631/0.2897, allocations: 159.6 kB / 434.8 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.2899, allocations: 25.39 kB / 434.8 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007949/0.2907, allocations: 0.6278 MB / 435.4 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.2908, allocations: 79.69 kB / 435.5 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.048e-05/0.2909, allocations: 12 kB / 435.5 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.7e-05/0.2909, allocations: 12 kB / 435.5 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.291, allocations: 83.67 kB / 435.6 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.2912, allocations: 135 kB / 435.8 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000467/0.2917, allocations: 455.6 kB / 436.2 MB, free: 3.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2917, allocations: 0 / 436.2 MB, free: 3.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2917, allocations: 0 / 436.2 MB, free: 3.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.2917, allocations: 4 kB / 436.2 MB, free: 3.219 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.0009466/0.2926, allocations: 0.8255 MB / 437 MB, free: 2.312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.2927, allocations: 8.031 kB / 437 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.204e-05/0.2928, allocations: 48.66 kB / 437.1 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.2931, allocations: 294.6 kB / 437.4 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.2932, allocations: 4.375 kB / 437.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.2932, allocations: 16.31 kB / 437.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/0.2936, allocations: 173.8 kB / 437.6 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.2936, allocations: 0 / 437.6 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/0.2936, allocations: 7.984 kB / 437.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.2936, allocations: 8 kB / 437.6 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.2938, allocations: 83.95 kB / 437.7 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008467/0.2947, allocations: 0.5004 MB / 438.2 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.2949, allocations: 98.53 kB / 438.3 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.2951, allocations: 92.92 kB / 438.3 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.2951, allocations: 4 kB / 438.4 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004312/0.2955, allocations: 246.5 kB / 438.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.2955, allocations: 0 / 438.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.001027/0.2965, allocations: 0.6072 MB / 439.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.2967, allocations: 195.9 kB / 439.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000739/0.2974, allocations: 0.564 MB / 440 MB, free: 15.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.116e-05/0.2974, allocations: 29.7 kB / 440 MB, free: 15.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.286e-05/0.2975, allocations: 117.1 kB / 440.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.014e-05/0.2976, allocations: 35.73 kB / 440.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.2977, allocations: 105.5 kB / 440.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.2979, allocations: 330.8 kB / 440.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.2981, allocations: 80.02 kB / 440.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.2982, allocations: 101.7 kB / 440.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004435/0.2987, allocations: 435.7 kB / 441.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.2987, allocations: 3.938 kB / 441.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007053/0.2994, allocations: 0.501 MB / 441.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001269/0.2995, allocations: 155.2 kB / 441.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.2995, allocations: 4 kB / 441.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.2995, allocations: 0 / 441.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.346e-05/0.2996, allocations: 0 / 441.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2996, allocations: 0 / 441.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.2997, allocations: 19.92 kB / 441.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.2998, allocations: 97.23 kB / 441.9 MB, free: 13.02 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.0004011/0.3002, allocations: 400.1 kB / 442.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.092e-05/0.3003, allocations: 55.69 kB / 442.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.3004, allocations: 71.47 kB / 442.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3004, allocations: 0 / 442.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3004, allocations: 0 / 442.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3004, allocations: 0 / 442.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.3017, allocations: 0.9634 MB / 443.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3017, allocations: 3.938 kB / 443.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.3e-06/0.3017, allocations: 7.938 kB / 443.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3017, allocations: 0 / 443.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-05/0.3017, allocations: 23.98 kB / 443.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3017, allocations: 0 / 443.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.3017, allocations: 3.938 kB / 443.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008197/0.3026, allocations: 0.6584 MB / 444.1 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003876/0.3029, allocations: 264.5 kB / 444.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.895e-05/0.303, allocations: 12 kB / 444.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.3032, allocations: 19.98 kB / 444.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.3033, allocations: 56 kB / 444.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.3034, allocations: 113.2 kB / 444.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005046/0.3039, allocations: 414.9 kB / 445 MB, free: 9.801 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3039, allocations: 0 / 445 MB, free: 9.801 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003041/0.3042, allocations: 48 kB / 445 MB, free: 9.754 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.0001683/0.3044, allocations: 119.1 kB / 445.1 MB, free: 9.629 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006408/0.305, allocations: 484.9 kB / 445.6 MB, free: 9.094 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.305, allocations: 0 / 445.6 MB, free: 9.094 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003744/0.3054, allocations: 388.9 kB / 446 MB, free: 8.652 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008418/0.3063, allocations: 187.6 kB / 446.2 MB, free: 8.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.3076, allocations: 0.8149 MB / 447 MB, free: 7.641 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005116/0.3081, allocations: 0.8183 MB / 447.8 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.3081, allocations: 19.38 kB / 447.8 MB, free: 6.777 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3081, allocations: 0 / 447.8 MB, free: 6.777 MB / 350.1 MB Notification: Performance of Templates: time 0.006976/0.3151, allocations: 4.288 MB / 452.1 MB, free: 2.387 MB / 350.1 MB " [Timeout remaining time 660] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.016397829633206]