Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.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.001016/0.001016, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001567/0.002583, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001059/0.001059, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001053/0.002112, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.978/0.978, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09427/1.072, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] 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.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.778e-05/1.882e-05, allocations: 6.312 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.001856/0.001874, allocations: 1.597 MB / 246.1 MB, free: 12.7 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.003114, allocations: 0.905 MB / 247 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.387e-05/0.003148, allocations: 0 / 247 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.207e-05/0.0032, allocations: 11.92 kB / 247 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.182e-05/0.003242, allocations: 23.8 kB / 247.1 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001184/0.003361, allocations: 51.81 kB / 247.1 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.003492, allocations: 135.7 kB / 247.2 MB, free: 11.57 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.316e-05/0.003545, allocations: 19.92 kB / 247.3 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002876/0.003833, allocations: 391.3 kB / 247.6 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.581e-05/0.003909, allocations: 55.81 kB / 247.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.003935, allocations: 12 kB / 247.7 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.681e-05/0.003951, allocations: 11.94 kB / 247.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.129e-05/0.004003, allocations: 67.72 kB / 247.8 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.046e-05/0.004053, allocations: 43.81 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.004238, allocations: 251.1 kB / 248.1 MB, free: 10.73 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.004247, allocations: 0 / 248.1 MB, free: 10.73 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004248, allocations: 0 / 248.1 MB, free: 10.73 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.004257, allocations: 4 kB / 248.1 MB, free: 10.73 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004418/0.004699, allocations: 0.6613 MB / 248.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.314e-05/0.004722, allocations: 8.031 kB / 248.8 MB, free: 10.01 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.00476, allocations: 28.91 kB / 248.8 MB, free: 9.98 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.0049, allocations: 216.1 kB / 249 MB, free: 9.742 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.004912, allocations: 8.312 kB / 249 MB, free: 9.734 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.004926, allocations: 8.375 kB / 249 MB, free: 9.727 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.005123, allocations: 237.7 kB / 249.2 MB, free: 9.461 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.27e-06/0.005128, allocations: 192 / 249.2 MB, free: 9.461 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.005139, allocations: 4.375 kB / 249.2 MB, free: 9.457 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.005144, allocations: 7.938 kB / 249.3 MB, free: 9.449 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.908e-05/0.005224, allocations: 150.8 kB / 249.4 MB, free: 9.277 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002068/0.00543, allocations: 208.2 kB / 249.6 MB, free: 9.059 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.005536, allocations: 173.3 kB / 249.8 MB, free: 8.855 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.468e-05/0.005621, allocations: 159.7 kB / 249.9 MB, free: 8.672 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.739e-06/0.005625, allocations: 4 kB / 249.9 MB, free: 8.668 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.005794, allocations: 305.4 kB / 250.2 MB, free: 8.32 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 8.71e-07/0.005795, allocations: 0 / 250.2 MB, free: 8.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003262/0.006122, allocations: 0.5254 MB / 250.8 MB, free: 7.715 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.00616, allocations: 89.16 kB / 250.8 MB, free: 7.609 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.006417, allocations: 371 kB / 251.2 MB, free: 7.234 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.006436, allocations: 29.7 kB / 251.2 MB, free: 7.199 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.134e-05/0.006468, allocations: 93.11 kB / 251.3 MB, free: 7.105 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.006492, allocations: 35.77 kB / 251.4 MB, free: 7.07 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.93e-05/0.006551, allocations: 69.5 kB / 251.4 MB, free: 6.996 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.466e-05/0.006626, allocations: 326.8 kB / 251.7 MB, free: 6.668 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.756e-05/0.006704, allocations: 150.8 kB / 251.9 MB, free: 6.496 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.168e-05/0.006785, allocations: 184 kB / 252.1 MB, free: 6.289 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.00693, allocations: 322.2 kB / 252.4 MB, free: 5.922 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.006932, allocations: 0 / 252.4 MB, free: 5.922 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001881/0.00712, allocations: 363.3 kB / 252.7 MB, free: 5.512 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.504e-05/0.007175, allocations: 137.7 kB / 252.9 MB, free: 5.355 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.007178, allocations: 0 / 252.9 MB, free: 5.355 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.711e-06/0.007184, allocations: 4.031 kB / 252.9 MB, free: 5.352 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.403e-05/0.007198, allocations: 4 kB / 252.9 MB, free: 5.348 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-06/0.007199, allocations: 0 / 252.9 MB, free: 5.348 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.991e-05/0.007259, allocations: 11.98 kB / 252.9 MB, free: 5.336 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.007289, allocations: 36.08 kB / 252.9 MB, free: 5.301 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.x,$PRE.bUF3S.inertialDelaySensitive.x,bUF3S.yy,bUF3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * 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.0001991/0.007488, allocations: 349.3 kB / 253.3 MB, free: 4.926 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.007518, allocations: 39.89 kB / 253.3 MB, free: 4.887 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.195e-05/0.00759, allocations: 55.09 kB / 253.4 MB, free: 4.836 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.007591, allocations: 0 / 253.4 MB, free: 4.836 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-06/0.007592, allocations: 3.938 kB / 253.4 MB, free: 4.832 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.007595, allocations: 4 kB / 253.4 MB, free: 4.828 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003462/0.007941, allocations: 0.5978 MB / 254 MB, free: 4.156 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.007941, allocations: 0 / 254 MB, free: 4.156 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.918e-06/0.007945, allocations: 4 kB / 254 MB, free: 4.152 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.008112, allocations: 139.4 kB / 254.1 MB, free: 4.016 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.008113, allocations: 0 / 254.1 MB, free: 4.016 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.008125, allocations: 8 kB / 254.1 MB, free: 4.008 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.008125, allocations: 0 / 254.1 MB, free: 4.008 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.008126, allocations: 0 / 254.1 MB, free: 4.008 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.008375, allocations: 0.5009 MB / 254.6 MB, free: 3.441 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.008402, allocations: 15.94 kB / 254.6 MB, free: 3.426 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.117e-05/0.008463, allocations: 15.98 kB / 254.6 MB, free: 3.41 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.00851, allocations: 11.98 kB / 254.7 MB, free: 3.398 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.008539, allocations: 40.11 kB / 254.7 MB, free: 3.359 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001281/0.008667, allocations: 156.6 kB / 254.9 MB, free: 3.203 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008667, allocations: 0 / 254.9 MB, free: 3.203 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001389/0.008806, allocations: 40 kB / 254.9 MB, free: 3.164 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,bUF3S.yy,bUF3S.nextstate,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * 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 7.736e-05/0.008883, allocations: 92.42 kB / 255 MB, free: 3.066 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002885/0.009172, allocations: 0.582 MB / 255.6 MB, free: 2.383 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.009177, allocations: 4 kB / 255.6 MB, free: 2.379 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.009343, allocations: 408.1 kB / 256 MB, free: 1.902 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.009619, allocations: 151.8 kB / 256.1 MB, free: 1.762 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007405/0.01036, allocations: 0.7418 MB / 256.9 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.179e-05/0.01042, allocations: 99.25 kB / 257 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.268e-05/0.01044, allocations: 8.719 kB / 257 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.01064, allocations: 147.6 kB / 257.1 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01064, allocations: 0 / 257.1 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of Templates: time 0.004754/0.01539, allocations: 4.386 MB / 261.5 MB, free: 12.38 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.467751300893724]