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.001853/0.001853, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.00243/0.00243, allocations: 206.4 kB / 23.73 MB, free: 4.414 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.625/1.625, allocations: 230.5 MB / 257.4 MB, free: 7.77 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.002658/0.002658, allocations: 59.91 kB / 378.2 MB, free: 2.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3244, allocations: 53.41 MB / 431.6 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.003063/0.3275, allocations: 1.53 MB / 433.2 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.3296, allocations: 0.8498 MB / 434 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.367e-05/0.3297, allocations: 0 / 434 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.3298, allocations: 19.86 kB / 434 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.3299, allocations: 19.86 kB / 434 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.3303, allocations: 59.86 kB / 434.1 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.3306, allocations: 155.6 kB / 434.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.3307, allocations: 17.58 kB / 434.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007847/0.3315, allocations: 0.6317 MB / 434.9 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.3317, allocations: 83.62 kB / 435 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.773e-05/0.3317, allocations: 12 kB / 435 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.796e-05/0.3318, allocations: 12 kB / 435 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.3319, allocations: 79.67 kB / 435.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.332, allocations: 95.23 kB / 435.2 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005195/0.3325, allocations: 468.3 kB / 435.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3326, allocations: 0 / 435.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3326, allocations: 0 / 435.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.57e-05/0.3326, allocations: 0 / 435.6 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.001156/0.3337, allocations: 0.7463 MB / 436.4 MB, free: 1.684 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.3338, allocations: 11.98 kB / 436.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.3339, allocations: 48.66 kB / 436.4 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/0.3343, allocations: 236.8 kB / 436.7 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.3343, allocations: 12.38 kB / 436.7 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.279e-05/0.3344, allocations: 8.375 kB / 436.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005172/0.3349, allocations: 322.3 kB / 437 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.3349, allocations: 7.984 kB / 437 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.3349, allocations: 0 / 437 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.3349, allocations: 4 kB / 437 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/0.3353, allocations: 224.5 kB / 437.2 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008831/0.3361, allocations: 432 kB / 437.7 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003473/0.3365, allocations: 243 kB / 437.9 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000318/0.3368, allocations: 241.5 kB / 438.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.3368, allocations: 0 / 438.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006183/0.3374, allocations: 394 kB / 438.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.3374, allocations: 0 / 438.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001296/0.3387, allocations: 0.8974 MB / 439.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/0.3389, allocations: 203.8 kB / 439.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007847/0.3397, allocations: 0.5639 MB / 440.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.925e-05/0.3397, allocations: 29.7 kB / 440.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.966e-05/0.3398, allocations: 125 kB / 440.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.022e-05/0.3399, allocations: 35.7 kB / 440.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.34, allocations: 101.5 kB / 440.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3402, allocations: 330.8 kB / 440.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002695/0.3404, allocations: 232.5 kB / 441 MB, free: 12.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/0.3407, allocations: 242.2 kB / 441.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005271/0.3412, allocations: 446 kB / 441.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3412, allocations: 0 / 441.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0008919/0.3421, allocations: 0.6509 MB / 442.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000124/0.3423, allocations: 152.5 kB / 442.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.3423, allocations: 0 / 442.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.3423, allocations: 4.031 kB / 442.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.587e-05/0.3423, allocations: 7.938 kB / 442.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.3423, allocations: 3.984 kB / 442.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.3425, allocations: 12 kB / 442.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.3426, allocations: 101.2 kB / 442.6 MB, free: 10.79 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.0004311/0.343, allocations: 400 kB / 443 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.29e-05/0.3431, allocations: 43.72 kB / 443.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.3432, allocations: 67.42 kB / 443.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3432, allocations: 0 / 443.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.3432, allocations: 4 kB / 443.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3432, allocations: 4 kB / 443.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.3446, allocations: 1.038 MB / 444.2 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.3446, allocations: 0 / 444.2 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.35e-06/0.3446, allocations: 0 / 444.2 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3446, allocations: 0 / 444.2 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.154e-05/0.3447, allocations: 23.98 kB / 444.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3447, allocations: 0 / 444.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3447, allocations: 128 / 444.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.3457, allocations: 0.8126 MB / 445 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004886/0.3462, allocations: 217.3 kB / 445.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.878e-05/0.3463, allocations: 12 kB / 445.2 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.3464, allocations: 19.98 kB / 445.2 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.3466, allocations: 51.94 kB / 445.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/0.3467, allocations: 105.2 kB / 445.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005839/0.3473, allocations: 426.8 kB / 445.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3473, allocations: 7.938 kB / 445.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003274/0.3476, allocations: 44 kB / 445.9 MB, free: 7.344 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.0001497/0.3478, allocations: 115.2 kB / 446 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009474/0.3487, allocations: 0.763 MB / 446.7 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3487, allocations: 4.062 kB / 446.7 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005202/0.3492, allocations: 0.5248 MB / 447.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008531/0.3501, allocations: 189.1 kB / 447.5 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.3516, allocations: 0.9085 MB / 448.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.3519, allocations: 207.5 kB / 448.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.552e-05/0.352, allocations: 20.95 kB / 448.6 MB, free: 4.332 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/0.352, allocations: 11.44 kB / 448.6 MB, free: 4.32 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.352, allocations: 0 / 448.6 MB, free: 4.32 MB / 350.1 MB Notification: Performance of Templates: time 0.01375/0.3658, allocations: 8.129 MB / 456.7 MB, free: 12.11 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/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_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: 4.946744952350855]