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.001034/0.001034, allocations: 91.5 kB / 21.19 MB, free: 3.371 MB / 18.57 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.00117/0.00117, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 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.026/1.026, allocations: 177 MB / 204.9 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] 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 1.814e-06/1.814e-06, allocations: 3.938 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.748e-05/2.93e-05, allocations: 5.266 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002454/0.002483, allocations: 1.541 MB / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.004062, allocations: 0.8613 MB / 275.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.496e-05/0.004136, allocations: 0 / 275.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.00425, allocations: 15.86 kB / 275.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.732e-05/0.004347, allocations: 19.84 kB / 275.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.004665, allocations: 51.88 kB / 275.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.004846, allocations: 131.7 kB / 275.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.004959, allocations: 23.91 kB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004267/0.005386, allocations: 411.2 kB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.005502, allocations: 55.83 kB / 276 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.909e-05/0.005541, allocations: 8 kB / 276 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.422e-05/0.005565, allocations: 12 kB / 276 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.865e-05/0.005654, allocations: 63.77 kB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.912e-05/0.005733, allocations: 51.8 kB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.00599, allocations: 271 kB / 276.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.005993, allocations: 0 / 276.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.005994, allocations: 0 / 276.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.005999, allocations: 0 / 276.4 MB, free: 13.93 MB / 266.7 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.0006608/0.00666, allocations: 0.7786 MB / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.006704, allocations: 11.98 kB / 277.2 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.888e-05/0.006793, allocations: 48.7 kB / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.007036, allocations: 222.8 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.242e-05/0.007069, allocations: 8.375 kB / 277.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.00709, allocations: 8.375 kB / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/0.007415, allocations: 245.7 kB / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.007422, allocations: 192 / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.00744, allocations: 4.375 kB / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.007448, allocations: 3.938 kB / 277.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.007555, allocations: 174.7 kB / 277.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006409/0.008196, allocations: 495.4 kB / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.008363, allocations: 197.7 kB / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.008472, allocations: 174.5 kB / 278.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.008483, allocations: 7.922 kB / 278.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002312/0.008714, allocations: 315.2 kB / 279.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.244e-06/0.008717, allocations: 0 / 279.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006126/0.009329, allocations: 0.6776 MB / 279.7 MB, free: 10.22 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/0.009398, allocations: 166.2 kB / 279.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005663/0.009964, allocations: 0.631 MB / 280.5 MB, free: 9.379 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.009991, allocations: 29.7 kB / 280.6 MB, free: 9.344 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.591e-05/0.01008, allocations: 147.9 kB / 280.7 MB, free: 9.191 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.01012, allocations: 31.83 kB / 280.7 MB, free: 9.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.966e-05/0.01021, allocations: 83.17 kB / 280.8 MB, free: 9.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004406/0.01065, allocations: 0.4962 MB / 281.3 MB, free: 8.562 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.01077, allocations: 158.8 kB / 281.5 MB, free: 8.383 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.01089, allocations: 186.1 kB / 281.7 MB, free: 8.168 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.0111, allocations: 337 kB / 282 MB, free: 7.781 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.0111, allocations: 0 / 282 MB, free: 7.781 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000359/0.01146, allocations: 490.9 kB / 282.5 MB, free: 7.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.864e-05/0.01153, allocations: 129.4 kB / 282.6 MB, free: 7.102 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.01154, allocations: 4 kB / 282.6 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.01155, allocations: 0 / 282.6 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.175e-05/0.01157, allocations: 0 / 282.6 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.01158, allocations: 0 / 282.6 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.963e-05/0.01168, allocations: 15.95 kB / 282.6 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/0.01172, allocations: 44.02 kB / 282.7 MB, free: 7.039 MB / 266.7 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.0002431/0.01196, allocations: 401.3 kB / 283 MB, free: 6.613 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.718e-05/0.01201, allocations: 51.81 kB / 283.1 MB, free: 6.562 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.283e-05/0.01208, allocations: 55.03 kB / 283.1 MB, free: 6.508 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.01209, allocations: 4 kB / 283.2 MB, free: 6.504 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.01209, allocations: 0 / 283.2 MB, free: 6.504 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01209, allocations: 0 / 283.2 MB, free: 6.504 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007252/0.01282, allocations: 0.94 MB / 284.1 MB, free: 5.473 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01282, allocations: 0 / 284.1 MB, free: 5.473 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.264e-06/0.01283, allocations: 0 / 284.1 MB, free: 5.473 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.01283, allocations: 7.938 kB / 284.1 MB, free: 5.465 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.01285, allocations: 11.98 kB / 284.1 MB, free: 5.453 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.01285, allocations: 4 kB / 284.1 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01285, allocations: 0 / 284.1 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004866/0.01334, allocations: 0.6886 MB / 284.8 MB, free: 4.691 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002623/0.0136, allocations: 185.3 kB / 285 MB, free: 4.512 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.317e-05/0.01366, allocations: 15.98 kB / 285 MB, free: 4.496 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.01378, allocations: 8 kB / 285 MB, free: 4.488 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.01389, allocations: 23.97 kB / 285 MB, free: 4.465 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-05/0.01394, allocations: 47.92 kB / 285.1 MB, free: 4.418 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003822/0.01432, allocations: 438.7 kB / 285.5 MB, free: 3.992 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01432, allocations: 0 / 285.5 MB, free: 3.992 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001924/0.01452, allocations: 40 kB / 285.5 MB, free: 3.953 MB / 266.7 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.0001067/0.01462, allocations: 115 kB / 285.7 MB, free: 3.828 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003798/0.015, allocations: 0.5926 MB / 286.2 MB, free: 3.133 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.015, allocations: 0 / 286.2 MB, free: 3.133 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002339/0.01524, allocations: 428 kB / 286.7 MB, free: 2.637 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.01565, allocations: 139.6 kB / 286.8 MB, free: 2.512 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000956/0.0166, allocations: 0.7567 MB / 287.6 MB, free: 1.703 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.453e-05/0.01668, allocations: 95.27 kB / 287.7 MB, free: 1.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.854e-05/0.01672, allocations: 12.7 kB / 287.7 MB, free: 1.574 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.01675, allocations: 16.44 kB / 287.7 MB, free: 1.555 MB / 266.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01675, allocations: 0 / 287.7 MB, free: 1.555 MB / 266.7 MB Notification: Performance of Templates: time 0.006929/0.02368, allocations: 5.006 MB / 292.7 MB, free: 12.6 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8274574079550803]