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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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=500,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=500,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001357/0.001357, allocations: 203.9 kB / 18.74 MB, free: 4.312 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.458/1.458, allocations: 227.7 MB / 247.2 MB, free: 10.2 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.002345/0.002345, allocations: 67.89 kB / 359 MB, free: 12.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3181, allocations: 50.55 MB / 409.6 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.00266/0.3208, allocations: 1.534 MB / 411.1 MB, free: 44 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.3227, allocations: 0.8795 MB / 412 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.578e-05/0.3228, allocations: 0 / 412 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.907e-05/0.3229, allocations: 11.86 kB / 412 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.129e-05/0.323, allocations: 19.84 kB / 412 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.3232, allocations: 47.89 kB / 412.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002292/0.3234, allocations: 155.7 kB / 412.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.24e-05/0.3235, allocations: 12 kB / 412.2 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004539/0.324, allocations: 383.3 kB / 412.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.3242, allocations: 59.77 kB / 412.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.674e-05/0.3242, allocations: 12 kB / 412.7 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.742e-05/0.3243, allocations: 8 kB / 412.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.474e-05/0.3244, allocations: 71.7 kB / 412.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.3245, allocations: 119.1 kB / 412.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003821/0.3249, allocations: 354.5 kB / 413.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3249, allocations: 0 / 413.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.055e-06/0.3249, allocations: 0 / 413.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.3249, allocations: 3.938 kB / 413.2 MB, free: 13.93 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.0008326/0.3258, allocations: 0.7305 MB / 413.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.3258, allocations: 8.031 kB / 413.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.633e-05/0.3259, allocations: 40.7 kB / 414 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.3262, allocations: 274.6 kB / 414.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.3262, allocations: 12.38 kB / 414.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.3263, allocations: 8.375 kB / 414.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.3266, allocations: 129.9 kB / 414.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.3266, allocations: 0 / 414.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.3266, allocations: 4 kB / 414.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.3266, allocations: 3.984 kB / 414.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.3268, allocations: 55.97 kB / 414.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000645/0.3274, allocations: 464.5 kB / 414.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.3276, allocations: 90.55 kB / 415 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.3278, allocations: 84.89 kB / 415.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.3278, allocations: 0 / 415.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003491/0.3282, allocations: 206.6 kB / 415.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.492e-06/0.3282, allocations: 0 / 415.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008185/0.329, allocations: 471.1 kB / 415.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.3291, allocations: 170.2 kB / 415.9 MB, free: 10.94 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007313/0.3299, allocations: 0.5246 MB / 416.4 MB, free: 10.4 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.3299, allocations: 29.7 kB / 416.5 MB, free: 10.37 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.618e-05/0.33, allocations: 93.14 kB / 416.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.3301, allocations: 31.72 kB / 416.6 MB, free: 10.24 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.3302, allocations: 85.52 kB / 416.7 MB, free: 10.15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.3304, allocations: 326.8 kB / 417 MB, free: 9.824 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.3305, allocations: 55.97 kB / 417 MB, free: 9.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.3307, allocations: 80.62 kB / 417.1 MB, free: 9.688 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003739/0.331, allocations: 335.3 kB / 417.5 MB, free: 9.305 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.331, allocations: 0 / 417.5 MB, free: 9.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00056/0.3316, allocations: 372.3 kB / 417.8 MB, free: 8.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.915e-05/0.3317, allocations: 126.9 kB / 417.9 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3317, allocations: 3.938 kB / 417.9 MB, free: 8.758 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3318, allocations: 8.031 kB / 418 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.896e-05/0.3318, allocations: 0 / 418 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.3318, allocations: 128 / 418 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.3319, allocations: 15.95 kB / 418 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-05/0.332, allocations: 47.98 kB / 418 MB, free: 8.688 MB / 334.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.0003647/0.3324, allocations: 362.2 kB / 418.4 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/0.3324, allocations: 39.77 kB / 418.4 MB, free: 8.262 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.3325, allocations: 59.16 kB / 418.5 MB, free: 8.199 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3326, allocations: 8 kB / 418.5 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3326, allocations: 0 / 418.5 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3326, allocations: 0 / 418.5 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.3336, allocations: 0.813 MB / 419.3 MB, free: 7.301 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3336, allocations: 0 / 419.3 MB, free: 7.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.388e-06/0.3336, allocations: 4 kB / 419.3 MB, free: 7.297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3336, allocations: 3.938 kB / 419.3 MB, free: 7.293 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.3337, allocations: 11.98 kB / 419.3 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3337, allocations: 0 / 419.3 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3337, allocations: 3.938 kB / 419.3 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006669/0.3344, allocations: 0.5254 MB / 419.8 MB, free: 6.711 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003175/0.3347, allocations: 248.6 kB / 420.1 MB, free: 6.449 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.919e-05/0.3347, allocations: 8 kB / 420.1 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.3349, allocations: 15.98 kB / 420.1 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.802e-05/0.335, allocations: 19.92 kB / 420.1 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.905e-05/0.335, allocations: 47.92 kB / 420.2 MB, free: 6.359 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004681/0.3355, allocations: 386.9 kB / 420.5 MB, free: 5.984 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3355, allocations: 4 kB / 420.5 MB, free: 5.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002745/0.3358, allocations: 44 kB / 420.6 MB, free: 5.938 MB / 334.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.0001489/0.336, allocations: 119 kB / 420.7 MB, free: 5.812 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005465/0.3365, allocations: 441.5 kB / 421.1 MB, free: 5.332 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3365, allocations: 3.938 kB / 421.1 MB, free: 5.328 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003638/0.3369, allocations: 373.6 kB / 421.5 MB, free: 4.914 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006483/0.3376, allocations: 129.6 kB / 421.6 MB, free: 4.797 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.3386, allocations: 0.657 MB / 422.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004629/0.3391, allocations: 0.7983 MB / 423.1 MB, free: 3.285 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.943e-05/0.3392, allocations: 8.656 kB / 423.1 MB, free: 3.273 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.5e-05/0.3392, allocations: 15.44 kB / 423.1 MB, free: 3.258 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3392, allocations: 0 / 423.1 MB, free: 3.258 MB / 334.1 MB Notification: Performance of Templates: time 0.007722/0.3469, allocations: 4.378 MB / 427.5 MB, free: 14.91 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] Reference file matches