Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00158/0.00158, allocations: 118.1 kB / 17.84 MB, free: 5.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001921/0.001921, allocations: 209.8 kB / 18.79 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.499/1.499, allocations: 230.4 MB / 250 MB, free: 9.086 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 71.97 kB / 367.3 MB, free: 7.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3082, allocations: 53.31 MB / 420.7 MB, free: 8.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003532/0.3117, allocations: 1.536 MB / 422.2 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00241/0.3141, allocations: 0.8887 MB / 423.1 MB, free: 5.941 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.3142, allocations: 0 / 423.1 MB, free: 5.941 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.3144, allocations: 11.92 kB / 423.1 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.3145, allocations: 23.78 kB / 423.1 MB, free: 5.906 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.3149, allocations: 47.89 kB / 423.2 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000316/0.3152, allocations: 135.7 kB / 423.3 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.3153, allocations: 15.98 kB / 423.3 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005974/0.3159, allocations: 395.2 kB / 423.7 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.3161, allocations: 63.75 kB / 423.8 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.39e-05/0.3161, allocations: 12 kB / 423.8 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.273e-05/0.3162, allocations: 8 kB / 423.8 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.3163, allocations: 67.7 kB / 423.8 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.3165, allocations: 119.1 kB / 424 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005787/0.3171, allocations: 354.4 kB / 424.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3171, allocations: 0 / 424.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3171, allocations: 7.875 kB / 424.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.3171, allocations: 0 / 424.3 MB, free: 4.707 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.001294/0.3184, allocations: 0.7334 MB / 425 MB, free: 3.902 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.3184, allocations: 8.031 kB / 425.1 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.3186, allocations: 40.7 kB / 425.1 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003971/0.319, allocations: 274.6 kB / 425.4 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/0.319, allocations: 12.38 kB / 425.4 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.319, allocations: 4.375 kB / 425.4 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003717/0.3194, allocations: 125.9 kB / 425.5 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3194, allocations: 0 / 425.5 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.055e-05/0.3194, allocations: 7.984 kB / 425.5 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.3194, allocations: 4 kB / 425.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.3196, allocations: 59.95 kB / 425.6 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008965/0.3205, allocations: 464.4 kB / 426 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.3207, allocations: 74.53 kB / 426.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.3209, allocations: 60.89 kB / 426.2 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.3209, allocations: 4 kB / 426.2 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004519/0.3213, allocations: 206.6 kB / 426.4 MB, free: 2.453 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.3213, allocations: 0 / 426.4 MB, free: 2.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009333/0.3223, allocations: 464.3 kB / 426.8 MB, free: 1.969 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/0.3224, allocations: 166.2 kB / 427 MB, free: 1.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008274/0.3232, allocations: 0.5168 MB / 427.5 MB, free: 1.238 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.3233, allocations: 29.7 kB / 427.5 MB, free: 1.203 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.587e-05/0.3234, allocations: 101.1 kB / 427.6 MB, free: 1.102 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.174e-05/0.3234, allocations: 35.83 kB / 427.7 MB, free: 1.066 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.3236, allocations: 85.45 kB / 427.7 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3237, allocations: 326.8 kB / 428.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.3239, allocations: 55.97 kB / 428.1 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.324, allocations: 73.67 kB / 428.2 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/0.3244, allocations: 346.2 kB / 428.5 MB, free: 128 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.3244, allocations: 4 kB / 428.5 MB, free: 124 kB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006169/0.325, allocations: 372.3 kB / 428.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.3252, allocations: 118.8 kB / 429 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.3252, allocations: 7.984 kB / 429 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3252, allocations: 0 / 429 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.441e-05/0.3252, allocations: 0 / 429 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3252, allocations: 0 / 429 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.3254, allocations: 15.95 kB / 429 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-05/0.3254, allocations: 47.92 kB / 429.1 MB, free: 15.52 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.0004089/0.3259, allocations: 362.3 kB / 429.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.759e-05/0.3259, allocations: 39.77 kB / 429.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.326, allocations: 71.14 kB / 429.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.326, allocations: 0 / 429.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.326, allocations: 0 / 429.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.3261, allocations: 0 / 429.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.3272, allocations: 0.8056 MB / 430.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3272, allocations: 0 / 430.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.715e-06/0.3272, allocations: 7.938 kB / 430.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.3272, allocations: 0 / 430.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.3272, allocations: 15.98 kB / 430.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3272, allocations: 0 / 430.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.3272, allocations: 7.938 kB / 430.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007968/0.328, allocations: 0.5176 MB / 430.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004141/0.3285, allocations: 252.6 kB / 431.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.196e-05/0.3285, allocations: 11.94 kB / 431.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.3287, allocations: 12 kB / 431.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.3288, allocations: 31.91 kB / 431.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.833e-05/0.3288, allocations: 43.92 kB / 431.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005461/0.3294, allocations: 386.9 kB / 431.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3294, allocations: 0 / 431.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003031/0.3297, allocations: 40 kB / 431.7 MB, free: 12.76 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.000182/0.3299, allocations: 127.1 kB / 431.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005869/0.3305, allocations: 377.5 kB / 432.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3305, allocations: 0 / 432.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003398/0.3308, allocations: 301.6 kB / 432.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006449/0.3315, allocations: 120 kB / 432.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.3327, allocations: 0.6609 MB / 433.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006025/0.3333, allocations: 0.8061 MB / 434 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.305e-05/0.3334, allocations: 8.734 kB / 434 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.3334, allocations: 11.44 kB / 434 MB, free: 10.21 MB / 350.1 MB Notification: Performance of SimCode: time 9.81e-07/0.3334, allocations: 0 / 434 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Templates: time 0.01009/0.3435, allocations: 4.398 MB / 438.4 MB, free: 5.848 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches