Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0007745/0.0007745, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001099/0.001873, allocations: 445.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.000719/0.000719, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001331/0.00205, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9007/0.9007, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1612/1.062, allocations: 49.48 MB / 220.6 MB, free: 1.445 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.053e-05, allocations: 6.312 kB / 221.8 MB, free: 164 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002071/0.002091, allocations: 1.562 MB / 223.4 MB, free: 14.58 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.003843, allocations: 0.9013 MB / 224.3 MB, free: 13.67 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.8e-05/0.003921, allocations: 0 / 224.3 MB, free: 13.67 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.206e-05/0.004014, allocations: 11.86 kB / 224.3 MB, free: 13.66 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.174e-05/0.004085, allocations: 27.84 kB / 224.3 MB, free: 13.63 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.004332, allocations: 55.81 kB / 224.4 MB, free: 13.58 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.00453, allocations: 139.6 kB / 224.5 MB, free: 13.44 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.00463, allocations: 19.97 kB / 224.6 MB, free: 13.42 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003828/0.005013, allocations: 391.3 kB / 224.9 MB, free: 13.04 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.005141, allocations: 59.83 kB / 225 MB, free: 12.98 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.005173, allocations: 8 kB / 225 MB, free: 12.97 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.031e-05/0.005194, allocations: 8 kB / 225 MB, free: 12.96 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.736e-05/0.005261, allocations: 63.72 kB / 225.1 MB, free: 12.9 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.089e-05/0.005322, allocations: 47.8 kB / 225.1 MB, free: 12.86 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.005533, allocations: 259.1 kB / 225.4 MB, free: 12.6 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-05/0.005548, allocations: 0 / 225.4 MB, free: 12.6 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005549, allocations: 0 / 225.4 MB, free: 12.6 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.578e-05/0.005564, allocations: 0 / 225.4 MB, free: 12.6 MB / 234.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.0006033/0.006168, allocations: 0.6574 MB / 226 MB, free: 11.89 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.006197, allocations: 16.02 kB / 226 MB, free: 11.88 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.227e-05/0.00625, allocations: 24.92 kB / 226.1 MB, free: 11.86 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.006431, allocations: 208.1 kB / 226.3 MB, free: 11.63 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.006452, allocations: 8.375 kB / 226.3 MB, free: 11.62 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.006469, allocations: 12.36 kB / 226.3 MB, free: 11.61 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.006737, allocations: 245.6 kB / 226.5 MB, free: 11.34 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.006745, allocations: 192 / 226.5 MB, free: 11.34 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.006758, allocations: 4.375 kB / 226.5 MB, free: 11.33 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.006765, allocations: 3.938 kB / 226.5 MB, free: 11.33 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003736/0.007139, allocations: 154.8 kB / 226.7 MB, free: 11.15 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002765/0.007415, allocations: 204.2 kB / 226.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.007557, allocations: 177.3 kB / 227.1 MB, free: 10.73 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.704e-05/0.007644, allocations: 159.8 kB / 227.2 MB, free: 10.55 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.633e-06/0.007651, allocations: 7.938 kB / 227.2 MB, free: 10.54 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/0.007848, allocations: 317.5 kB / 227.5 MB, free: 10.18 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.007849, allocations: 0 / 227.5 MB, free: 10.18 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003607/0.00821, allocations: 0.5254 MB / 228.1 MB, free: 9.574 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.008249, allocations: 85.11 kB / 228.1 MB, free: 9.473 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002821/0.008531, allocations: 363.1 kB / 228.5 MB, free: 9.105 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.008552, allocations: 29.7 kB / 228.5 MB, free: 9.07 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.008589, allocations: 93.11 kB / 228.6 MB, free: 8.977 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.008614, allocations: 31.72 kB / 228.7 MB, free: 8.945 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.871e-05/0.008682, allocations: 77.48 kB / 228.7 MB, free: 8.863 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.726e-05/0.00876, allocations: 326.8 kB / 229 MB, free: 8.535 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.231e-05/0.008842, allocations: 154.8 kB / 229.2 MB, free: 8.359 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.245e-05/0.008924, allocations: 160.5 kB / 229.4 MB, free: 8.172 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.009087, allocations: 337.5 kB / 229.7 MB, free: 7.789 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.009091, allocations: 0 / 229.7 MB, free: 7.789 MB / 234.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002031/0.009294, allocations: 359.2 kB / 230 MB, free: 7.383 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.498e-05/0.009359, allocations: 130.7 kB / 230.2 MB, free: 7.23 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.009364, allocations: 80 / 230.2 MB, free: 7.23 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.009377, allocations: 8.031 kB / 230.2 MB, free: 7.223 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.301e-05/0.0094, allocations: 0 / 230.2 MB, free: 7.223 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.009405, allocations: 7.922 kB / 230.2 MB, free: 7.215 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.009514, allocations: 8 kB / 230.2 MB, free: 7.207 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.694e-05/0.009551, allocations: 39.98 kB / 230.2 MB, free: 7.168 MB / 234.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.0002153/0.009766, allocations: 333.3 kB / 230.6 MB, free: 6.805 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.0098, allocations: 43.91 kB / 230.6 MB, free: 6.762 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.55e-05/0.009876, allocations: 51.08 kB / 230.6 MB, free: 6.715 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.009878, allocations: 0 / 230.6 MB, free: 6.715 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.00988, allocations: 0 / 230.6 MB, free: 6.715 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.009884, allocations: 8 kB / 230.7 MB, free: 6.707 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000398/0.01028, allocations: 0.6095 MB / 231.3 MB, free: 6.023 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01028, allocations: 0 / 231.3 MB, free: 6.023 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.432e-06/0.01029, allocations: 0 / 231.3 MB, free: 6.023 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.01046, allocations: 131.5 kB / 231.4 MB, free: 5.895 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.01046, allocations: 3.938 kB / 231.4 MB, free: 5.891 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.01047, allocations: 11.98 kB / 231.4 MB, free: 5.879 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.01047, allocations: 4 kB / 231.4 MB, free: 5.875 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.01048, allocations: 192 / 231.4 MB, free: 5.875 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.01073, allocations: 0.495 MB / 231.9 MB, free: 5.316 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.456e-05/0.01077, allocations: 20.06 kB / 231.9 MB, free: 5.297 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.242e-05/0.01084, allocations: 8 kB / 231.9 MB, free: 5.289 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.474e-05/0.0109, allocations: 27.95 kB / 232 MB, free: 5.262 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.01093, allocations: 35.94 kB / 232 MB, free: 5.227 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001323/0.01106, allocations: 152.6 kB / 232.1 MB, free: 5.074 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01106, allocations: 4 kB / 232.1 MB, free: 5.07 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001472/0.01121, allocations: 40 kB / 232.2 MB, free: 5.031 MB / 234.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 9.656e-05/0.01131, allocations: 100.1 kB / 232.3 MB, free: 4.926 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003107/0.01162, allocations: 0.5819 MB / 232.9 MB, free: 4.242 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.01163, allocations: 4 kB / 232.9 MB, free: 4.238 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.01182, allocations: 412.1 kB / 233.3 MB, free: 3.758 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006/0.01242, allocations: 146.7 kB / 233.4 MB, free: 3.621 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008663/0.01329, allocations: 0.7411 MB / 234.2 MB, free: 2.824 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.512e-05/0.01335, allocations: 95.27 kB / 234.3 MB, free: 2.711 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 4.075e-05/0.01339, allocations: 8.719 kB / 234.3 MB, free: 2.699 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.01361, allocations: 155.6 kB / 234.4 MB, free: 2.547 MB / 234.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01361, allocations: 0 / 234.4 MB, free: 2.547 MB / 234.7 MB Notification: Performance of Templates: time 0.005856/0.01947, allocations: 4.362 MB / 238.8 MB, free: 14.2 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.6647618915885687]