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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001865/0.001865, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002346/0.002346, allocations: 206.8 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.517/1.517, allocations: 230.4 MB / 258.1 MB, free: 8.172 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-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=5014,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=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "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.002073/0.002073, allocations: 63.84 kB / 378.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.3005, allocations: 53.32 MB / 432 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003106/0.3036, allocations: 1.549 MB / 433.6 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.3057, allocations: 0.8887 MB / 434.5 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.1e-05/0.3058, allocations: 0 / 434.5 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.3059, allocations: 15.86 kB / 434.5 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.64e-05/0.306, allocations: 19.86 kB / 434.5 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.3062, allocations: 51.88 kB / 434.6 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.3065, allocations: 131.8 kB / 434.7 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.3066, allocations: 15.92 kB / 434.7 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004923/0.3071, allocations: 391.3 kB / 435.1 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.3072, allocations: 75.61 kB / 435.2 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.739e-05/0.3073, allocations: 12 kB / 435.2 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.789e-05/0.3073, allocations: 8 kB / 435.2 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.413e-05/0.3074, allocations: 63.77 kB / 435.2 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.3075, allocations: 111.2 kB / 435.4 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003913/0.3079, allocations: 364.4 kB / 435.7 MB, free: 3.754 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3079, allocations: 0 / 435.7 MB, free: 3.754 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3079, allocations: 0 / 435.7 MB, free: 3.754 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.3079, allocations: 0 / 435.7 MB, free: 3.754 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.0008764/0.3088, allocations: 0.7344 MB / 436.4 MB, free: 2.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.3088, allocations: 8.031 kB / 436.5 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.566e-05/0.3089, allocations: 40.7 kB / 436.5 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003688/0.3093, allocations: 270.7 kB / 436.8 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.3093, allocations: 12.38 kB / 436.8 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.3093, allocations: 12.31 kB / 436.8 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003411/0.3097, allocations: 125.9 kB / 436.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3097, allocations: 0 / 436.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.3097, allocations: 4 kB / 436.9 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3097, allocations: 3.984 kB / 436.9 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.3098, allocations: 59.97 kB / 437 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007649/0.3106, allocations: 456.5 kB / 437.4 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.3108, allocations: 78.47 kB / 437.5 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.3109, allocations: 64.94 kB / 437.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.311, allocations: 0 / 437.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003977/0.3114, allocations: 198.7 kB / 437.8 MB, free: 1.508 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.3114, allocations: 0 / 437.8 MB, free: 1.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008112/0.3122, allocations: 472.2 kB / 438.2 MB, free: 1.016 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.3123, allocations: 166.2 kB / 438.4 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006803/0.313, allocations: 0.513 MB / 438.9 MB, free: 296 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.313, allocations: 29.7 kB / 438.9 MB, free: 260 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.4e-05/0.3131, allocations: 101.1 kB / 439 MB, free: 156 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.52e-05/0.3131, allocations: 39.77 kB / 439.1 MB, free: 116 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.3132, allocations: 85.52 kB / 439.1 MB, free: 24 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3134, allocations: 322.8 kB / 439.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.3135, allocations: 55.97 kB / 439.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.3137, allocations: 73.62 kB / 439.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003644/0.314, allocations: 342.3 kB / 439.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.314, allocations: 0 / 439.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005328/0.3146, allocations: 384.3 kB / 440.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.515e-05/0.3147, allocations: 125.6 kB / 440.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.3147, allocations: 0 / 440.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3147, allocations: 0 / 440.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.14e-05/0.3147, allocations: 3.984 kB / 440.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.3147, allocations: 0 / 440.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.3148, allocations: 15.95 kB / 440.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.997e-05/0.3149, allocations: 43.98 kB / 440.5 MB, free: 14.57 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.0004397/0.3153, allocations: 374.4 kB / 440.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.458e-05/0.3154, allocations: 31.81 kB / 440.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.3155, allocations: 63.16 kB / 440.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.3155, allocations: 0 / 440.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.3155, allocations: 0 / 440.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3155, allocations: 0 / 440.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.3166, allocations: 0.8211 MB / 441.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3166, allocations: 0 / 441.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.519e-06/0.3166, allocations: 0 / 441.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.3166, allocations: 0 / 441.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/0.3166, allocations: 23.92 kB / 441.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3166, allocations: 4 kB / 441.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.3166, allocations: 3.938 kB / 441.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006594/0.3173, allocations: 0.5247 MB / 442.3 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003529/0.3176, allocations: 252.6 kB / 442.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.767e-05/0.3177, allocations: 8 kB / 442.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.3178, allocations: 8 kB / 442.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.3179, allocations: 31.91 kB / 442.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.883e-05/0.318, allocations: 47.92 kB / 442.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004671/0.3185, allocations: 386.9 kB / 443 MB, free: 11.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3185, allocations: 0 / 443 MB, free: 11.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002847/0.3187, allocations: 40 kB / 443.1 MB, free: 11.8 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.0001504/0.3189, allocations: 115 kB / 443.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005083/0.3194, allocations: 377.5 kB / 443.5 MB, free: 11.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3194, allocations: 64 / 443.5 MB, free: 11.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002883/0.3197, allocations: 301.6 kB / 443.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006737/0.3204, allocations: 120.6 kB / 444 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.3216, allocations: 0.6609 MB / 444.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005307/0.3221, allocations: 0.8028 MB / 445.4 MB, free: 9.293 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.047e-05/0.3222, allocations: 12.64 kB / 445.4 MB, free: 9.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.3222, allocations: 15.44 kB / 445.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3222, allocations: 0 / 445.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of Templates: time 0.008234/0.3304, allocations: 4.435 MB / 449.9 MB, free: 4.863 MB / 350.1 MB " [Timeout remaining time 660] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.647239102050662]