Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001483/0.001483, allocations: 107 kB / 19.8 MB, free: 2.5 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.001526/0.001526, allocations: 219.5 kB / 23 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 230.2 MB / 256.2 MB, free: 8.547 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 59.89 kB / 376.5 MB, free: 3.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3822, allocations: 53.31 MB / 429.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003117/0.3853, allocations: 1.552 MB / 431.3 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002217/0.3875, allocations: 0.8927 MB / 432.2 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.392e-05/0.3876, allocations: 0 / 432.2 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.3877, allocations: 11.86 kB / 432.2 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.751e-05/0.3878, allocations: 19.84 kB / 432.3 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.3881, allocations: 47.89 kB / 432.3 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002329/0.3883, allocations: 139.7 kB / 432.4 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.201e-05/0.3884, allocations: 19.98 kB / 432.5 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004713/0.3889, allocations: 387.3 kB / 432.8 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.389, allocations: 67.75 kB / 432.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.576e-05/0.3891, allocations: 8 kB / 432.9 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.87e-05/0.3891, allocations: 12 kB / 432.9 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.3892, allocations: 67.64 kB / 433 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.3893, allocations: 115.2 kB / 433.1 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003984/0.3897, allocations: 363.7 kB / 433.5 MB, free: 3.859 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3897, allocations: 0 / 433.5 MB, free: 3.859 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3897, allocations: 0 / 433.5 MB, free: 3.859 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3897, allocations: 0 / 433.5 MB, free: 3.859 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.000819/0.3905, allocations: 0.7306 MB / 434.2 MB, free: 3.055 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3906, allocations: 12.03 kB / 434.2 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.109e-05/0.3907, allocations: 40.7 kB / 434.2 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.391, allocations: 282.6 kB / 434.5 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.391, allocations: 4.375 kB / 434.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.391, allocations: 8.375 kB / 434.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.3913, allocations: 121.9 kB / 434.7 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3913, allocations: 0 / 434.7 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.3913, allocations: 11.94 kB / 434.7 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.3913, allocations: 4 kB / 434.7 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.3915, allocations: 63.91 kB / 434.7 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006675/0.3922, allocations: 456.5 kB / 435.2 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.3923, allocations: 70.55 kB / 435.2 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.3925, allocations: 64.81 kB / 435.3 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.3925, allocations: 8 kB / 435.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003717/0.3929, allocations: 198.7 kB / 435.5 MB, free: 1.605 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.3929, allocations: 0 / 435.5 MB, free: 1.605 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008173/0.3937, allocations: 464.3 kB / 436 MB, free: 1.121 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.3938, allocations: 170.2 kB / 436.1 MB, free: 0.918 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006726/0.3945, allocations: 0.5207 MB / 436.7 MB, free: 396 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.3945, allocations: 29.81 kB / 436.7 MB, free: 360 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.961e-05/0.3946, allocations: 109.1 kB / 436.8 MB, free: 248 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.3946, allocations: 19.86 kB / 436.8 MB, free: 228 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.3947, allocations: 85.5 kB / 436.9 MB, free: 136 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3949, allocations: 326.8 kB / 437.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.395, allocations: 51.97 kB / 437.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.3952, allocations: 73.69 kB / 437.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003758/0.3955, allocations: 350.5 kB / 437.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3955, allocations: 0 / 437.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005571/0.3961, allocations: 368.4 kB / 438 MB, free: 14.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.3962, allocations: 122.8 kB / 438.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.3962, allocations: 3.938 kB / 438.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3962, allocations: 0 / 438.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.379e-05/0.3962, allocations: 4 kB / 438.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.3962, allocations: 0 / 438.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.3964, allocations: 19.94 kB / 438.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.215e-05/0.3964, allocations: 36 kB / 438.2 MB, free: 14.68 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.0003671/0.3968, allocations: 374.2 kB / 438.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.3969, allocations: 39.77 kB / 438.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.397, allocations: 67.14 kB / 438.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.397, allocations: 0 / 438.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.397, allocations: 0 / 438.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.397, allocations: 4 kB / 438.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.398, allocations: 0.8096 MB / 439.5 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.398, allocations: 4 kB / 439.5 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.22e-06/0.398, allocations: 4 kB / 439.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.398, allocations: 4 kB / 439.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/0.3981, allocations: 12 kB / 439.5 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3981, allocations: 3.984 kB / 439.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.3981, allocations: 3.938 kB / 439.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006671/0.3987, allocations: 0.5214 MB / 440.1 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003176/0.3991, allocations: 248.6 kB / 440.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.821e-05/0.3991, allocations: 15.98 kB / 440.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.3992, allocations: 12 kB / 440.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.3993, allocations: 31.84 kB / 440.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.05e-05/0.3994, allocations: 43.94 kB / 440.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004877/0.3999, allocations: 386.9 kB / 440.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3999, allocations: 4 kB / 440.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000292/0.4002, allocations: 40 kB / 440.8 MB, free: 11.91 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.0001595/0.4003, allocations: 111 kB / 440.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005259/0.4009, allocations: 377.5 kB / 441.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4009, allocations: 0 / 441.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003201/0.4012, allocations: 305.5 kB / 441.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006081/0.4018, allocations: 127 kB / 441.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.4029, allocations: 0.6609 MB / 442.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/0.4034, allocations: 0.8062 MB / 443.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.496e-05/0.4035, allocations: 8.656 kB / 443.2 MB, free: 9.375 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.4035, allocations: 15.42 kB / 443.2 MB, free: 9.359 MB / 350.1 MB Notification: Performance of SimCode: time 7.22e-07/0.4035, allocations: 0 / 443.2 MB, free: 9.359 MB / 350.1 MB Notification: Performance of Templates: time 0.008979/0.4125, allocations: 4.431 MB / 447.6 MB, free: 4.957 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.753487607464194]