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.001713/0.001713, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.002418/0.002418, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.612/1.612, allocations: 230.4 MB / 258.1 MB, free: 8.133 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.001946/0.001946, allocations: 67.83 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2737, allocations: 53.32 MB / 432 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.003037/0.2767, allocations: 1.58 MB / 433.6 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.2788, allocations: 0.9121 MB / 434.5 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.001e-05/0.2789, allocations: 0 / 434.5 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.279, allocations: 11.86 kB / 434.6 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.84e-05/0.2791, allocations: 31.73 kB / 434.6 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.2793, allocations: 47.88 kB / 434.6 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.2796, allocations: 159.7 kB / 434.8 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.2797, allocations: 21.39 kB / 434.8 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007405/0.2805, allocations: 0.6355 MB / 435.4 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.2806, allocations: 83.73 kB / 435.5 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.435e-05/0.2807, allocations: 12 kB / 435.5 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.66e-05/0.2807, allocations: 12 kB / 435.5 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.2808, allocations: 79.62 kB / 435.6 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.281, allocations: 127 kB / 435.8 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005198/0.2815, allocations: 464 kB / 436.2 MB, free: 3.211 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.2815, allocations: 0 / 436.2 MB, free: 3.211 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2815, allocations: 0 / 436.2 MB, free: 3.211 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.2815, allocations: 4 kB / 436.2 MB, free: 3.207 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.0009937/0.2825, allocations: 0.8255 MB / 437 MB, free: 2.301 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.2825, allocations: 8.031 kB / 437 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.588e-05/0.2826, allocations: 48.66 kB / 437.1 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.283, allocations: 298.5 kB / 437.4 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.283, allocations: 4.375 kB / 437.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.2831, allocations: 8.375 kB / 437.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003747/0.2834, allocations: 173.9 kB / 437.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2835, allocations: 0 / 437.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.029e-05/0.2835, allocations: 4 kB / 437.6 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.2835, allocations: 4 kB / 437.6 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002222/0.2837, allocations: 95.88 kB / 437.7 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009565/0.2847, allocations: 0.4926 MB / 438.2 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.2849, allocations: 94.47 kB / 438.2 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.2851, allocations: 92.92 kB / 438.3 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.805e-06/0.2851, allocations: 0 / 438.3 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004343/0.2855, allocations: 250.6 kB / 438.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.2855, allocations: 0 / 438.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.001047/0.2866, allocations: 0.6189 MB / 439.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/0.2867, allocations: 195.9 kB / 439.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007836/0.2875, allocations: 0.5562 MB / 440 MB, free: 15.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.2875, allocations: 33.7 kB / 440 MB, free: 15.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.81e-05/0.2876, allocations: 117.1 kB / 440.1 MB, free: 15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.262e-05/0.2877, allocations: 27.81 kB / 440.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.2878, allocations: 105.5 kB / 440.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.288, allocations: 330.8 kB / 440.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.2881, allocations: 83.95 kB / 440.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.2883, allocations: 93.67 kB / 440.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004863/0.2888, allocations: 438.6 kB / 441.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2888, allocations: 0 / 441.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007652/0.2896, allocations: 0.5137 MB / 441.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.2897, allocations: 148.5 kB / 441.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.2897, allocations: 8 kB / 441.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.2897, allocations: 0 / 441.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.354e-05/0.2897, allocations: 0 / 441.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2897, allocations: 160 / 441.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.2899, allocations: 19.98 kB / 441.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.29, allocations: 97.23 kB / 441.9 MB, free: 13.01 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.0004917/0.2905, allocations: 407.9 kB / 442.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.533e-05/0.2906, allocations: 47.72 kB / 442.4 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.2907, allocations: 71.47 kB / 442.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.2907, allocations: 0 / 442.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2907, allocations: 0 / 442.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2907, allocations: 0 / 442.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.2922, allocations: 0.97 MB / 443.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.2922, allocations: 0 / 443.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.459e-06/0.2922, allocations: 0 / 443.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.2922, allocations: 3.984 kB / 443.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/0.2922, allocations: 23.98 kB / 443.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.2922, allocations: 0 / 443.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.2922, allocations: 3.938 kB / 443.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009114/0.2931, allocations: 0.6636 MB / 444.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004017/0.2936, allocations: 260.5 kB / 444.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.108e-05/0.2936, allocations: 12 kB / 444.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.2938, allocations: 12 kB / 444.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/0.2939, allocations: 63.86 kB / 444.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/0.2941, allocations: 105.2 kB / 444.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005293/0.2946, allocations: 418.8 kB / 445 MB, free: 9.797 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2946, allocations: 0 / 445 MB, free: 9.797 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003022/0.2949, allocations: 52 kB / 445 MB, free: 9.746 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.0001812/0.2951, allocations: 119.3 kB / 445.1 MB, free: 9.621 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007051/0.2958, allocations: 484.8 kB / 445.6 MB, free: 9.086 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2958, allocations: 64 / 445.6 MB, free: 9.086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004471/0.2962, allocations: 393 kB / 446 MB, free: 8.641 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000912/0.2971, allocations: 179.7 kB / 446.2 MB, free: 8.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.2986, allocations: 0.7594 MB / 446.9 MB, free: 7.691 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005887/0.2992, allocations: 0.8221 MB / 447.7 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.593e-05/0.2992, allocations: 16.8 kB / 447.8 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.197e-05/0.2993, allocations: 19.44 kB / 447.8 MB, free: 6.805 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2993, allocations: 0 / 447.8 MB, free: 6.805 MB / 350.1 MB Notification: Performance of Templates: time 0.01252/0.3118, allocations: 7.498 MB / 455.3 MB, free: 15.2 MB / 366.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 -s cvode -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: 4.82816044986248]