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.001921/0.001921, allocations: 116.9 kB / 18.41 MB, free: 4.625 MB / 14.72 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.002405/0.002405, allocations: 190.9 kB / 21.34 MB, free: 1.695 MB / 14.72 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.451/1.451, allocations: 222.9 MB / 247 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001531/0.001531, allocations: 51.92 kB / 358.7 MB, free: 8.312 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08902/0.09056, allocations: 49.43 MB / 408.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002665/0.09326, allocations: 1.514 MB / 409.6 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001949/0.09523, allocations: 0.8458 MB / 410.5 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.327e-05/0.0953, allocations: 0 / 410.5 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.229e-05/0.0954, allocations: 11.88 kB / 410.5 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.582e-05/0.09551, allocations: 15.84 kB / 410.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.09575, allocations: 54.62 kB / 410.5 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.096, allocations: 155.7 kB / 410.7 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.09611, allocations: 23.95 kB / 410.7 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004753/0.09659, allocations: 379.3 kB / 411.1 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.09673, allocations: 63.75 kB / 411.1 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.593e-05/0.09679, allocations: 8 kB / 411.2 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.732e-05/0.09683, allocations: 15.94 kB / 411.2 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.36e-05/0.09693, allocations: 59.77 kB / 411.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.09708, allocations: 119.1 kB / 411.3 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004049/0.09749, allocations: 358.5 kB / 411.7 MB, free: 3.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.09751, allocations: 0 / 411.7 MB, free: 3.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.407e-06/0.09751, allocations: 0 / 411.7 MB, free: 3.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.09753, allocations: 3.938 kB / 411.7 MB, free: 3.215 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008513/0.09838, allocations: 0.7344 MB / 412.4 MB, free: 2.406 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.09843, allocations: 8.031 kB / 412.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.431e-05/0.0985, allocations: 40.7 kB / 412.5 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.09884, allocations: 278.7 kB / 412.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.09887, allocations: 8.375 kB / 412.8 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.09891, allocations: 12.38 kB / 412.8 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/0.09922, allocations: 125.9 kB / 412.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.09924, allocations: 0 / 412.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.09927, allocations: 4 kB / 412.9 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.09928, allocations: 0 / 412.9 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.09943, allocations: 55.97 kB / 413 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006734/0.1001, allocations: 472.5 kB / 413.4 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.1003, allocations: 94.55 kB / 413.5 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.1005, allocations: 84.89 kB / 413.6 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-06/0.1005, allocations: 0 / 413.6 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003614/0.1009, allocations: 198.7 kB / 413.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.1009, allocations: 3.938 kB / 413.8 MB, free: 0.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008241/0.1017, allocations: 464.1 kB / 414.2 MB, free: 444 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.1018, allocations: 174.2 kB / 414.4 MB, free: 232 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006947/0.1025, allocations: 0.5131 MB / 414.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.1026, allocations: 29.7 kB / 415 MB, free: 15.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.11e-05/0.1026, allocations: 97.12 kB / 415 MB, free: 15.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.1027, allocations: 27.81 kB / 415.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.1028, allocations: 89.48 kB / 415.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.103, allocations: 322.8 kB / 415.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.1031, allocations: 56.08 kB / 415.5 MB, free: 15.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.1033, allocations: 84.23 kB / 415.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/0.1037, allocations: 342.7 kB / 415.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1037, allocations: 0 / 415.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005724/0.1043, allocations: 384.2 kB / 416.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.1044, allocations: 122.8 kB / 416.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1044, allocations: 0 / 416.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.1044, allocations: 0 / 416.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.785e-05/0.1044, allocations: 32 / 416.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1044, allocations: 8 kB / 416.5 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.1046, allocations: 11.98 kB / 416.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.958e-05/0.1046, allocations: 40 kB / 416.5 MB, free: 13.98 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: 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.0003842/0.105, allocations: 366.2 kB / 416.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-05/0.1051, allocations: 43.7 kB / 416.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.1052, allocations: 67.12 kB / 417 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1052, allocations: 0 / 417 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1052, allocations: 0 / 417 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1052, allocations: 4 kB / 417 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.1063, allocations: 0.8017 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1063, allocations: 0 / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.799e-06/0.1063, allocations: 0 / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1063, allocations: 0 / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.1064, allocations: 8 kB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.1064, allocations: 4.188 kB / 417.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.1064, allocations: 7.938 kB / 417.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007198/0.1071, allocations: 0.537 MB / 418.3 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003346/0.1074, allocations: 248.6 kB / 418.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.107e-05/0.1075, allocations: 4 kB / 418.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.1076, allocations: 15.98 kB / 418.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.1078, allocations: 27.91 kB / 418.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.351e-05/0.1078, allocations: 40 kB / 418.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005068/0.1083, allocations: 394.8 kB / 419 MB, free: 11.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1083, allocations: 0 / 419 MB, free: 11.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002916/0.1086, allocations: 43.84 kB / 419.1 MB, free: 11.23 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: 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.0001491/0.1088, allocations: 123 kB / 419.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005983/0.1094, allocations: 437.5 kB / 419.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1094, allocations: 0 / 419.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003797/0.1098, allocations: 377.6 kB / 420 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006693/0.1105, allocations: 115 kB / 420.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.1117, allocations: 0.7018 MB / 420.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005395/0.1122, allocations: 0.8059 MB / 421.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.1123, allocations: 11.44 kB / 421.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1123, allocations: 4 kB / 421.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of Templates: time 0.004599/0.1169, allocations: 2.515 MB / 424.2 MB, free: 6.016 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.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: 7.497577324975282]