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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001572/0.001572, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001802/0.001802, allocations: 209.9 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 230.5 MB / 258.1 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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=5014,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 67.89 kB / 379 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.311, allocations: 53.41 MB / 432.4 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002916/0.3139, allocations: 1.533 MB / 433.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.3159, allocations: 0.8537 MB / 434.8 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.171e-05/0.316, allocations: 0 / 434.8 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.609e-05/0.3161, allocations: 15.86 kB / 434.8 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.187e-05/0.3162, allocations: 15.81 kB / 434.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.3165, allocations: 59.86 kB / 434.9 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.3167, allocations: 155.7 kB / 435 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.486e-05/0.3168, allocations: 25.23 kB / 435 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007211/0.3175, allocations: 0.6395 MB / 435.7 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.3177, allocations: 83.61 kB / 435.8 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.212e-05/0.3177, allocations: 12 kB / 435.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.456e-05/0.3178, allocations: 12 kB / 435.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.198e-05/0.3178, allocations: 71.7 kB / 435.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.318, allocations: 95.22 kB / 435.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004768/0.3185, allocations: 461.1 kB / 436.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3185, allocations: 0 / 436.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3185, allocations: 0 / 436.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.3185, allocations: 0 / 436.4 MB, free: 2.492 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.0009656/0.3194, allocations: 0.7501 MB / 437.1 MB, free: 1.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.3195, allocations: 19.98 kB / 437.2 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.929e-05/0.3196, allocations: 44.66 kB / 437.2 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.3199, allocations: 240.8 kB / 437.4 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.32, allocations: 8.375 kB / 437.4 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/0.32, allocations: 12.38 kB / 437.5 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004637/0.3204, allocations: 318.3 kB / 437.8 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3205, allocations: 0 / 437.8 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.3205, allocations: 4 kB / 437.8 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3205, allocations: 3.938 kB / 437.8 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002812/0.3208, allocations: 232.5 kB / 438 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007642/0.3215, allocations: 432.1 kB / 438.4 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003315/0.3219, allocations: 243 kB / 438.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002717/0.3221, allocations: 233.4 kB / 438.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.3221, allocations: 0 / 438.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005233/0.3227, allocations: 395.1 kB / 439.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.3227, allocations: 4 kB / 439.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001209/0.3239, allocations: 0.9007 MB / 440.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001475/0.324, allocations: 195.9 kB / 440.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007391/0.3248, allocations: 0.564 MB / 440.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.3248, allocations: 33.7 kB / 441 MB, free: 13.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.145e-05/0.3249, allocations: 117.1 kB / 441.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.438e-05/0.325, allocations: 35.75 kB / 441.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.3251, allocations: 97.5 kB / 441.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.3253, allocations: 334.9 kB / 441.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.3255, allocations: 228.4 kB / 441.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.3258, allocations: 246.2 kB / 442 MB, free: 12.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004765/0.3263, allocations: 442.7 kB / 442.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3263, allocations: 0 / 442.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0008326/0.3271, allocations: 0.6581 MB / 443.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000131/0.3273, allocations: 156.5 kB / 443.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3273, allocations: 0 / 443.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3273, allocations: 4 kB / 443.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.022e-05/0.3273, allocations: 0 / 443.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3273, allocations: 0 / 443.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.3275, allocations: 15.98 kB / 443.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.3276, allocations: 93.25 kB / 443.4 MB, free: 10.8 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.0004232/0.328, allocations: 411.9 kB / 443.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.417e-05/0.328, allocations: 47.72 kB / 443.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.3282, allocations: 71.44 kB / 443.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3282, allocations: 4 kB / 443.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.3282, allocations: 0 / 443.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3282, allocations: 0 / 443.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.3295, allocations: 1.03 MB / 444.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3295, allocations: 0 / 444.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.308e-06/0.3295, allocations: 0 / 444.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3295, allocations: 0 / 444.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.476e-05/0.3295, allocations: 23.92 kB / 444.9 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3295, allocations: 0 / 444.9 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3295, allocations: 0 / 444.9 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009659/0.3305, allocations: 0.8203 MB / 445.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004306/0.3309, allocations: 221.3 kB / 446 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.228e-05/0.331, allocations: 12 kB / 446 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.3311, allocations: 8 kB / 446 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.3313, allocations: 59.92 kB / 446.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/0.3314, allocations: 105.2 kB / 446.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005353/0.332, allocations: 426.8 kB / 446.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.332, allocations: 0 / 446.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002966/0.3323, allocations: 52 kB / 446.6 MB, free: 7.336 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.000158/0.3324, allocations: 115.4 kB / 446.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008487/0.3333, allocations: 0.7674 MB / 447.5 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3333, allocations: 0 / 447.5 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005151/0.3338, allocations: 0.521 MB / 448 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008256/0.3346, allocations: 192.6 kB / 448.2 MB, free: 5.539 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.336, allocations: 0.9531 MB / 449.2 MB, free: 4.523 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.3363, allocations: 215.6 kB / 449.4 MB, free: 4.293 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.3363, allocations: 15.44 kB / 449.4 MB, free: 4.277 MB / 350.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3363, allocations: 0 / 449.4 MB, free: 4.277 MB / 350.1 MB Notification: Performance of Templates: time 0.006736/0.343, allocations: 4.299 MB / 453.7 MB, free: 15.88 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.054236080031842]