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.002083/0.002083, allocations: 120.5 kB / 17.79 MB, free: 5.344 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.002506/0.002506, allocations: 215.3 kB / 20.75 MB, free: 2.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.56/1.56, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.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 0.001577/0.001577, allocations: 51.92 kB / 373.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1179, allocations: 53.32 MB / 426.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002938/0.1208, allocations: 1.541 MB / 428.3 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.123, allocations: 0.8848 MB / 429.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.627e-05/0.1231, allocations: 7.938 kB / 429.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.782e-05/0.1232, allocations: 7.922 kB / 429.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.85e-05/0.1233, allocations: 19.86 kB / 429.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.1236, allocations: 55.81 kB / 429.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.1238, allocations: 131.8 kB / 429.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.1239, allocations: 11.98 kB / 429.5 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004926/0.1244, allocations: 395.2 kB / 429.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.1245, allocations: 71.73 kB / 429.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.122e-05/0.1246, allocations: 8 kB / 429.9 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.067e-05/0.1246, allocations: 12 kB / 429.9 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.1247, allocations: 59.77 kB / 430 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.1248, allocations: 119.1 kB / 430.1 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004048/0.1252, allocations: 358.5 kB / 430.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1252, allocations: 0 / 430.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1252, allocations: 0 / 430.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1253, allocations: 0 / 430.5 MB, free: 0.6172 MB / 350.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.2599/0.3852, allocations: 0.7297 MB / 431.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.055e-05/0.3852, allocations: 8.938 kB / 431.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.3854, allocations: 42.33 kB / 431.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.3857, allocations: 272.9 kB / 431.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.3857, allocations: 9.219 kB / 431.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.3858, allocations: 9.031 kB / 431.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004616/0.3862, allocations: 122.9 kB / 431.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.3862, allocations: 0.75 kB / 431.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/0.3863, allocations: 10.09 kB / 431.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.3863, allocations: 1.844 kB / 431.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/0.3865, allocations: 58.69 kB / 431.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008845/0.3874, allocations: 462.3 kB / 432.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.3876, allocations: 73.09 kB / 432.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.3878, allocations: 61.52 kB / 432.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.3879, allocations: 7 kB / 432.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003763/0.3882, allocations: 200.2 kB / 432.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.3882, allocations: 0 / 432.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001097/0.3893, allocations: 471.7 kB / 433 MB, free: 10.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.298e-05/0.3894, allocations: 167.8 kB / 433.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008356/0.3902, allocations: 0.5126 MB / 433.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.3903, allocations: 31.83 kB / 433.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.3903, allocations: 105 kB / 433.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.997e-05/0.3904, allocations: 30.22 kB / 433.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.3905, allocations: 83.97 kB / 433.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.839e-05/0.3906, allocations: 325.9 kB / 434.2 MB, free: 10 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.3908, allocations: 57.53 kB / 434.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.391, allocations: 74.53 kB / 434.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/0.3914, allocations: 344.3 kB / 434.7 MB, free: 9.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3914, allocations: 0 / 434.7 MB, free: 9.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007094/0.3921, allocations: 371.5 kB / 435 MB, free: 9.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.242e-05/0.3922, allocations: 127.6 kB / 435.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3922, allocations: 4.406 kB / 435.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.3922, allocations: 5.594 kB / 435.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.432e-05/0.3922, allocations: 1.125 kB / 435.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.3922, allocations: 7.781 kB / 435.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.3924, allocations: 11.06 kB / 435.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.459e-05/0.3925, allocations: 38.17 kB / 435.2 MB, free: 9.285 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.0004072/0.3929, allocations: 364.5 kB / 435.6 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.639e-05/0.393, allocations: 43.39 kB / 435.6 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001395/0.3931, allocations: 62.3 kB / 435.7 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3931, allocations: 1.375 kB / 435.7 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.3931, allocations: 0 / 435.7 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3931, allocations: 1.25 kB / 435.7 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/0.3944, allocations: 0.8136 MB / 436.5 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3944, allocations: 4.688 kB / 436.5 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.691e-06/0.3944, allocations: 0.625 kB / 436.5 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.3944, allocations: 1.844 kB / 436.5 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.925e-05/0.3944, allocations: 11.8 kB / 436.5 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3944, allocations: 0 / 436.5 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3944, allocations: 2.766 kB / 436.5 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008655/0.3953, allocations: 0.5342 MB / 437 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004139/0.3957, allocations: 248.8 kB / 437.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.751e-05/0.3958, allocations: 11.97 kB / 437.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.396, allocations: 13.48 kB / 437.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/0.3962, allocations: 20.77 kB / 437.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/0.3963, allocations: 47.12 kB / 437.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000874/0.3972, allocations: 387.5 kB / 437.8 MB, free: 7.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3972, allocations: 1.094 kB / 437.8 MB, free: 7.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005994/0.3978, allocations: 41.97 kB / 437.8 MB, free: 7.586 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.000224/0.398, allocations: 123.5 kB / 437.9 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008083/0.3989, allocations: 373.2 kB / 438.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3989, allocations: 1.156 kB / 438.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004014/0.3993, allocations: 299.4 kB / 438.6 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.4003, allocations: 126.5 kB / 438.7 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.4021, allocations: 0.6589 MB / 439.4 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.4025, allocations: 0.8031 MB / 440.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.466e-05/0.4026, allocations: 10.58 kB / 440.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.4026, allocations: 10.81 kB / 440.2 MB, free: 5.766 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4026, allocations: 0.9688 kB / 440.2 MB, free: 5.766 MB / 350.1 MB Notification: Performance of Templates: time 0.01367/0.4163, allocations: 4.388 MB / 444.6 MB, free: 5.414 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.948172066360712]