Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001859/0.001859, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002288/0.002288, allocations: 210.4 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.509/1.509, allocations: 230.6 MB / 257.5 MB, free: 7.781 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Digital.Examples.MUX2x1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 43.94 kB / 378.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2971, allocations: 53.37 MB / 431.6 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002867/0.3, allocations: 1.534 MB / 433.1 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.302, allocations: 0.8498 MB / 433.9 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.633e-05/0.3021, allocations: 0 / 433.9 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.3022, allocations: 11.86 kB / 434 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.604e-05/0.3023, allocations: 27.84 kB / 434 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.3026, allocations: 51.02 kB / 434 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002577/0.3028, allocations: 163.6 kB / 434.2 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.3029, allocations: 21.56 kB / 434.2 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007252/0.3037, allocations: 0.6317 MB / 434.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.3038, allocations: 83.62 kB / 434.9 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.623e-05/0.3039, allocations: 8 kB / 434.9 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.486e-05/0.3039, allocations: 12 kB / 435 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.304, allocations: 75.69 kB / 435 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.3042, allocations: 99.23 kB / 435.1 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004937/0.3047, allocations: 468.3 kB / 435.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.3047, allocations: 7.984 kB / 435.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3047, allocations: 0 / 435.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.3047, allocations: 0 / 435.6 MB, free: 2.66 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.0009608/0.3056, allocations: 0.7463 MB / 436.3 MB, free: 1.852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.3057, allocations: 8.031 kB / 436.3 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.03e-05/0.3058, allocations: 48.66 kB / 436.4 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/0.3061, allocations: 236.8 kB / 436.6 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.3061, allocations: 4.375 kB / 436.6 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.3062, allocations: 12.38 kB / 436.6 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004835/0.3067, allocations: 318.3 kB / 436.9 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3067, allocations: 0 / 436.9 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.3067, allocations: 7.938 kB / 437 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.3067, allocations: 7.938 kB / 437 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002752/0.307, allocations: 228.5 kB / 437.2 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007896/0.3078, allocations: 444 kB / 437.6 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003024/0.3081, allocations: 239 kB / 437.9 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002766/0.3083, allocations: 233.4 kB / 438.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/0.3084, allocations: 4 kB / 438.1 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005473/0.3089, allocations: 395.1 kB / 438.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.653e-06/0.3089, allocations: 0 / 438.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001208/0.3101, allocations: 0.8972 MB / 439.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/0.3102, allocations: 191.9 kB / 439.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007413/0.311, allocations: 0.5679 MB / 440.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.311, allocations: 29.7 kB / 440.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.393e-05/0.3111, allocations: 117.1 kB / 440.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.661e-05/0.3112, allocations: 27.81 kB / 440.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.3113, allocations: 105.5 kB / 440.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3115, allocations: 334.8 kB / 440.7 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.3117, allocations: 228.5 kB / 440.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.312, allocations: 244.6 kB / 441.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004534/0.3125, allocations: 442.6 kB / 441.6 MB, free: 12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3125, allocations: 0 / 441.6 MB, free: 12 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0008001/0.3133, allocations: 0.6548 MB / 442.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.3134, allocations: 156.5 kB / 442.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3134, allocations: 0 / 442.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3134, allocations: 0 / 442.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.492e-05/0.3134, allocations: 7.938 kB / 442.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.3134, allocations: 4.031 kB / 442.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.3136, allocations: 20.05 kB / 442.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/0.3137, allocations: 97.34 kB / 442.6 MB, free: 10.97 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.0004145/0.3141, allocations: 400 kB / 442.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.237e-05/0.3142, allocations: 43.72 kB / 443 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.3143, allocations: 75.39 kB / 443.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3143, allocations: 0 / 443.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.3143, allocations: 0 / 443.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3143, allocations: 4 kB / 443.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.3155, allocations: 1.03 MB / 444.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.3155, allocations: 4 kB / 444.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.98e-06/0.3155, allocations: 0 / 444.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3155, allocations: 0 / 444.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.482e-05/0.3156, allocations: 27.92 kB / 444.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3156, allocations: 0 / 444.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3156, allocations: 0 / 444.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009257/0.3165, allocations: 0.8164 MB / 444.9 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004494/0.317, allocations: 217.3 kB / 445.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.572e-05/0.317, allocations: 12 kB / 445.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.3172, allocations: 15.98 kB / 445.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.3173, allocations: 55.94 kB / 445.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.3174, allocations: 105.2 kB / 445.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005207/0.318, allocations: 422.8 kB / 445.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.318, allocations: 3.938 kB / 445.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002976/0.3183, allocations: 48 kB / 445.8 MB, free: 7.512 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.0001546/0.3184, allocations: 119.3 kB / 445.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008025/0.3192, allocations: 0.7675 MB / 446.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3192, allocations: 0 / 446.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004795/0.3197, allocations: 0.5288 MB / 447.2 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008377/0.3205, allocations: 194.8 kB / 447.4 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.3219, allocations: 0.8968 MB / 448.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.3222, allocations: 215.5 kB / 448.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.099e-05/0.3222, allocations: 16.94 kB / 448.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.46e-05/0.3223, allocations: 23.44 kB / 448.5 MB, free: 4.473 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3223, allocations: 0 / 448.5 MB, free: 4.473 MB / 350.1 MB Notification: Performance of Templates: time 0.01292/0.3352, allocations: 8.121 MB / 456.7 MB, free: 12.29 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.695626173168421]