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.0009896/0.0009896, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001054/0.001054, allocations: 163.4 kB / 24.91 MB, free: 8.715 MB / 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.032/1.032, allocations: 177 MB / 205.2 MB, free: 5.059 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.232e-06/1.232e-06, allocations: 0 / 273.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.313e-05, allocations: 9.266 kB / 273.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002188/0.002211, allocations: 1.575 MB / 275 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.003708, allocations: 0.8612 MB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.502e-05/0.003773, allocations: 0 / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.011e-05/0.003863, allocations: 15.86 kB / 275.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.112e-05/0.003954, allocations: 27.8 kB / 275.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.004218, allocations: 47.88 kB / 276 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.004386, allocations: 135.7 kB / 276.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.968e-05/0.004465, allocations: 15.92 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003875/0.004853, allocations: 379.3 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.004963, allocations: 59.81 kB / 276.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/0.004993, allocations: 8 kB / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.333e-05/0.005016, allocations: 12 kB / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.871e-05/0.005085, allocations: 63.72 kB / 276.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.581e-05/0.005151, allocations: 55.78 kB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.005387, allocations: 275 kB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.005388, allocations: 0 / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.00539, allocations: 0 / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.005395, allocations: 0 / 276.9 MB, free: 13.5 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.0005615/0.005956, allocations: 0.6148 MB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.005989, allocations: 15.98 kB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.377e-05/0.006043, allocations: 28.91 kB / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.006211, allocations: 212 kB / 277.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.00623, allocations: 12.38 kB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.006245, allocations: 8.375 kB / 277.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.006532, allocations: 237.5 kB / 278.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.006539, allocations: 192 / 278.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.006552, allocations: 4.375 kB / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.006557, allocations: 3.938 kB / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.887e-05/0.006636, allocations: 154.7 kB / 278.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002554/0.006891, allocations: 212.1 kB / 278.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.007001, allocations: 169.3 kB / 278.6 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.861e-05/0.00708, allocations: 163.6 kB / 278.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.541e-06/0.007085, allocations: 4 kB / 278.8 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.007257, allocations: 293.4 kB / 279 MB, free: 11.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.007258, allocations: 0 / 279 MB, free: 11.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003212/0.007579, allocations: 0.5138 MB / 279.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002009/0.00778, allocations: 174.1 kB / 279.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.008063, allocations: 371.1 kB / 280.1 MB, free: 9.973 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.00808, allocations: 29.7 kB / 280.1 MB, free: 9.938 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.855e-05/0.008119, allocations: 97.11 kB / 280.2 MB, free: 9.836 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.008142, allocations: 23.86 kB / 280.2 MB, free: 9.812 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.559e-05/0.008208, allocations: 81.47 kB / 280.3 MB, free: 9.727 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.45e-05/0.008282, allocations: 322.8 kB / 280.6 MB, free: 9.402 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.139e-05/0.008363, allocations: 150.8 kB / 280.8 MB, free: 9.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.18e-05/0.008445, allocations: 168.4 kB / 280.9 MB, free: 9.035 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.008593, allocations: 307.3 kB / 281.2 MB, free: 8.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.008595, allocations: 0 / 281.2 MB, free: 8.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001967/0.008792, allocations: 355.2 kB / 281.6 MB, free: 8.277 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.064e-05/0.008853, allocations: 126.7 kB / 281.7 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.008858, allocations: 0 / 281.7 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.008868, allocations: 4.031 kB / 281.7 MB, free: 8.125 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.825e-05/0.008886, allocations: 3.984 kB / 281.7 MB, free: 8.121 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.008889, allocations: 4 kB / 281.7 MB, free: 8.117 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.627e-05/0.008966, allocations: 8 kB / 281.7 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/0.009001, allocations: 36 kB / 281.8 MB, free: 8.074 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.0002268/0.009228, allocations: 353.3 kB / 282.1 MB, free: 7.695 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.009261, allocations: 35.91 kB / 282.1 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.503e-05/0.009346, allocations: 55.09 kB / 282.2 MB, free: 7.605 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.00935, allocations: 3.984 kB / 282.2 MB, free: 7.602 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.009352, allocations: 4 kB / 282.2 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.009355, allocations: 0 / 282.2 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004037/0.009758, allocations: 0.5977 MB / 282.8 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.00976, allocations: 0 / 282.8 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.043e-06/0.009767, allocations: 4.188 kB / 282.8 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.009771, allocations: 7.938 kB / 282.8 MB, free: 6.918 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.009787, allocations: 15.92 kB / 282.8 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.009789, allocations: 0 / 282.8 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.00979, allocations: 0 / 282.8 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005521/0.01034, allocations: 489 kB / 283.3 MB, free: 6.359 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/0.01052, allocations: 147.3 kB / 283.5 MB, free: 6.215 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.01055, allocations: 12 kB / 283.5 MB, free: 6.203 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.609e-05/0.01063, allocations: 8 kB / 283.5 MB, free: 6.195 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.357e-05/0.01069, allocations: 23.95 kB / 283.5 MB, free: 6.172 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/0.01072, allocations: 39.94 kB / 283.5 MB, free: 6.133 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001425/0.01086, allocations: 152.6 kB / 283.7 MB, free: 5.984 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01086, allocations: 0 / 283.7 MB, free: 5.984 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001549/0.01102, allocations: 44 kB / 283.7 MB, free: 5.941 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 9.885e-05/0.01112, allocations: 100.2 kB / 283.8 MB, free: 5.836 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000302/0.01142, allocations: 0.5585 MB / 284.4 MB, free: 5.176 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.01142, allocations: 4 kB / 284.4 MB, free: 5.172 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.01159, allocations: 404.1 kB / 284.8 MB, free: 4.699 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.0119, allocations: 132.8 kB / 284.9 MB, free: 4.578 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007256/0.01263, allocations: 0.7418 MB / 285.7 MB, free: 3.785 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.07e-05/0.0127, allocations: 95.27 kB / 285.7 MB, free: 3.672 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.044e-05/0.01273, allocations: 8.719 kB / 285.8 MB, free: 3.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/0.01295, allocations: 151.7 kB / 285.9 MB, free: 3.512 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01295, allocations: 0 / 285.9 MB, free: 3.512 MB / 266.7 MB Notification: Performance of Templates: time 0.005646/0.01859, allocations: 4.34 MB / 290.2 MB, free: 15.22 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 -s gbode -gbm=radauIIA3 -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.670998490881175]