Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001697/0.002882, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002138/0.003148, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.052/1.052, allocations: 173.3 MB / 185.8 MB, free: 9.004 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1247/1.177, allocations: 52.5 MB / 238.3 MB, free: 4.441 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 239.5 MB, free: 3.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.048e-05, allocations: 2.312 kB / 239.5 MB, free: 3.188 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.005771/0.005791, allocations: 1.571 MB / 241.1 MB, free: 1.605 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.00771, allocations: 0.8746 MB / 242 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.501e-05/0.007755, allocations: 4 kB / 242 MB, free: 0.7227 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.552e-05/0.007821, allocations: 11.86 kB / 242 MB, free: 0.7109 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.381e-05/0.007885, allocations: 23.86 kB / 242 MB, free: 0.6875 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.008065, allocations: 51.81 kB / 242.1 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.008264, allocations: 139.7 kB / 242.2 MB, free: 0.5 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.793e-05/0.008332, allocations: 11.98 kB / 242.2 MB, free: 500 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001529/0.00986, allocations: 391.3 kB / 242.6 MB, free: 108 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.009972, allocations: 55.81 kB / 242.7 MB, free: 52 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.01001, allocations: 12 kB / 242.7 MB, free: 40 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.38e-05/0.01003, allocations: 8 kB / 242.7 MB, free: 32 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.164e-05/0.01011, allocations: 63.78 kB / 242.7 MB, free: 15.97 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.987e-05/0.01018, allocations: 51.75 kB / 242.8 MB, free: 15.92 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.01045, allocations: 251 kB / 243 MB, free: 15.67 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-05/0.01047, allocations: 4 kB / 243 MB, free: 15.67 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.01047, allocations: 0 / 243 MB, free: 15.67 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.195e-05/0.01049, allocations: 0 / 243 MB, free: 15.67 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.0007168/0.01121, allocations: 0.6651 MB / 243.7 MB, free: 14.95 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.01124, allocations: 8.031 kB / 243.7 MB, free: 14.95 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.073e-05/0.01131, allocations: 36.91 kB / 243.8 MB, free: 14.91 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.01154, allocations: 208.1 kB / 244 MB, free: 14.68 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.01156, allocations: 4.375 kB / 244 MB, free: 14.68 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.01158, allocations: 16.36 kB / 244 MB, free: 14.66 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/0.01189, allocations: 233.7 kB / 244.2 MB, free: 14.4 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.0119, allocations: 192 / 244.2 MB, free: 14.4 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.01192, allocations: 8.312 kB / 244.2 MB, free: 14.39 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.01193, allocations: 7.938 kB / 244.2 MB, free: 14.38 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.01204, allocations: 150.8 kB / 244.4 MB, free: 14.21 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.01241, allocations: 220.1 kB / 244.6 MB, free: 13.98 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.01256, allocations: 169.4 kB / 244.8 MB, free: 13.78 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.01266, allocations: 155.7 kB / 244.9 MB, free: 13.6 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.911e-06/0.01267, allocations: 4 kB / 244.9 MB, free: 13.6 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002352/0.01291, allocations: 313.4 kB / 245.2 MB, free: 13.24 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.894e-06/0.01291, allocations: 0 / 245.2 MB, free: 13.24 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005082/0.01342, allocations: 0.5253 MB / 245.7 MB, free: 12.64 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.01346, allocations: 85.11 kB / 245.8 MB, free: 12.54 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000389/0.01385, allocations: 355.2 kB / 246.2 MB, free: 12.18 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.01387, allocations: 33.7 kB / 246.2 MB, free: 12.14 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.391e-05/0.01392, allocations: 100.9 kB / 246.3 MB, free: 12.04 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.01395, allocations: 31.77 kB / 246.3 MB, free: 12 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.559e-05/0.01405, allocations: 77.5 kB / 246.4 MB, free: 11.92 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.688e-05/0.01413, allocations: 322.8 kB / 246.7 MB, free: 11.6 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.01425, allocations: 150.8 kB / 246.9 MB, free: 11.43 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.01437, allocations: 172.5 kB / 247 MB, free: 11.23 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003353/0.0147, allocations: 322.8 kB / 247.4 MB, free: 10.86 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.0147, allocations: 0 / 247.4 MB, free: 10.86 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002859/0.01499, allocations: 367.5 kB / 247.7 MB, free: 10.45 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.119e-05/0.01507, allocations: 138.7 kB / 247.8 MB, free: 10.29 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.01508, allocations: 8.016 kB / 247.9 MB, free: 10.28 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.01509, allocations: 0 / 247.9 MB, free: 10.28 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.185e-05/0.01511, allocations: 4 kB / 247.9 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.01511, allocations: 0 / 247.9 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.01522, allocations: 15.92 kB / 247.9 MB, free: 10.26 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/0.01527, allocations: 32.12 kB / 247.9 MB, free: 10.23 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.000293/0.01557, allocations: 349.2 kB / 248.2 MB, free: 9.848 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.949e-05/0.01562, allocations: 35.91 kB / 248.3 MB, free: 9.812 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.01572, allocations: 55.09 kB / 248.3 MB, free: 9.754 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.01572, allocations: 0 / 248.3 MB, free: 9.754 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.01572, allocations: 4 kB / 248.3 MB, free: 9.75 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.01573, allocations: 0 / 248.3 MB, free: 9.75 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005371/0.01626, allocations: 0.6095 MB / 249 MB, free: 9.066 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01627, allocations: 0 / 249 MB, free: 9.066 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.473e-06/0.01627, allocations: 0 / 249 MB, free: 9.066 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002499/0.01652, allocations: 135.4 kB / 249.1 MB, free: 8.938 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.01653, allocations: 0 / 249.1 MB, free: 8.938 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.01654, allocations: 4 kB / 249.1 MB, free: 8.934 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.01655, allocations: 0 / 249.1 MB, free: 8.934 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.01655, allocations: 3.984 kB / 249.1 MB, free: 8.93 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.0169, allocations: 0.4971 MB / 249.6 MB, free: 8.367 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.653e-05/0.01694, allocations: 12 kB / 249.6 MB, free: 8.355 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.01706, allocations: 11.98 kB / 249.6 MB, free: 8.344 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.664e-05/0.01713, allocations: 19.97 kB / 249.6 MB, free: 8.324 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.385e-05/0.01717, allocations: 35.98 kB / 249.7 MB, free: 8.289 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000206/0.01738, allocations: 160.5 kB / 249.8 MB, free: 8.133 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01738, allocations: 0 / 249.8 MB, free: 8.133 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002509/0.01763, allocations: 40 kB / 249.9 MB, free: 8.094 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 0.0001142/0.01774, allocations: 96.2 kB / 250 MB, free: 7.992 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008778/0.01862, allocations: 0.578 MB / 250.5 MB, free: 7.312 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.01863, allocations: 4 kB / 250.5 MB, free: 7.309 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002359/0.01886, allocations: 420.2 kB / 250.9 MB, free: 6.82 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.0193, allocations: 150 kB / 251.1 MB, free: 6.688 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.02043, allocations: 0.738 MB / 251.8 MB, free: 5.891 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.186e-05/0.02053, allocations: 107.1 kB / 251.9 MB, free: 5.766 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.13e-05/0.02058, allocations: 4.734 kB / 251.9 MB, free: 5.758 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003045/0.02088, allocations: 159.3 kB / 252.1 MB, free: 5.602 MB / 250.7 MB Notification: Performance of SimCode: time 8.92e-07/0.02088, allocations: 0 / 252.1 MB, free: 5.602 MB / 250.7 MB Notification: Performance of Templates: time 0.007802/0.02868, allocations: 4.369 MB / 256.5 MB, free: 1.297 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.6079304851591587]