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.001047/0.001047, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001719/0.002766, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007401/0.0007401, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001032/0.001772, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9354/0.9354, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09225/1.028, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.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 / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.103e-05/1.226e-05, allocations: 2.312 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002087/0.002099, allocations: 1.593 MB / 246.8 MB, free: 11.97 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004643/0.006743, allocations: 0.9089 MB / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.007e-05/0.006793, allocations: 3.938 kB / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.098e-05/0.006864, allocations: 7.922 kB / 247.7 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.866e-05/0.006922, allocations: 19.8 kB / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.007094, allocations: 55.81 kB / 247.8 MB, free: 10.97 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.007275, allocations: 135.6 kB / 247.9 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.07e-05/0.007346, allocations: 23.97 kB / 247.9 MB, free: 10.81 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004174/0.007763, allocations: 391.3 kB / 248.3 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.007875, allocations: 59.81 kB / 248.4 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/0.007908, allocations: 8 kB / 248.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.941e-05/0.007937, allocations: 12 kB / 248.4 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.848e-05/0.008016, allocations: 63.78 kB / 248.5 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.385e-05/0.00808, allocations: 51.75 kB / 248.5 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.008326, allocations: 243.1 kB / 248.8 MB, free: 10 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.115e-05/0.008337, allocations: 0 / 248.8 MB, free: 10 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.008337, allocations: 0 / 248.8 MB, free: 10 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.008347, allocations: 0 / 248.8 MB, free: 10 MB / 250.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.003706/0.01205, allocations: 0.6769 MB / 249.4 MB, free: 9.273 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.712e-05/0.01208, allocations: 8.625 kB / 249.4 MB, free: 9.266 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.866e-05/0.01214, allocations: 28.91 kB / 249.5 MB, free: 9.238 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.01232, allocations: 212.1 kB / 249.7 MB, free: 9.004 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.01234, allocations: 8.375 kB / 249.7 MB, free: 8.996 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.01236, allocations: 8.359 kB / 249.7 MB, free: 8.988 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.01261, allocations: 237.6 kB / 249.9 MB, free: 8.723 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.01262, allocations: 4.125 kB / 249.9 MB, free: 8.719 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.01263, allocations: 4.375 kB / 249.9 MB, free: 8.715 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.01264, allocations: 3.938 kB / 249.9 MB, free: 8.711 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.01274, allocations: 158.8 kB / 250.1 MB, free: 8.531 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002739/0.01301, allocations: 204.2 kB / 250.3 MB, free: 8.316 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.01314, allocations: 173.4 kB / 250.5 MB, free: 8.113 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.918e-05/0.01324, allocations: 159.7 kB / 250.6 MB, free: 7.93 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-06/0.01325, allocations: 4 kB / 250.6 MB, free: 7.926 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002083/0.01345, allocations: 309.1 kB / 250.9 MB, free: 7.578 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.032e-06/0.01346, allocations: 0 / 250.9 MB, free: 7.578 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003949/0.01385, allocations: 0.5293 MB / 251.4 MB, free: 6.969 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.01392, allocations: 178.2 kB / 251.6 MB, free: 6.758 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003359/0.01426, allocations: 371.1 kB / 252 MB, free: 6.383 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.01428, allocations: 29.7 kB / 252 MB, free: 6.348 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.958e-05/0.01432, allocations: 93.06 kB / 252.1 MB, free: 6.254 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00305/0.01737, allocations: 35.77 kB / 252.1 MB, free: 6.219 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.794e-05/0.01746, allocations: 69.5 kB / 252.2 MB, free: 6.145 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.847e-05/0.01755, allocations: 326.8 kB / 252.5 MB, free: 5.816 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003668/0.01791, allocations: 154.8 kB / 252.7 MB, free: 5.641 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.01802, allocations: 168.5 kB / 252.8 MB, free: 5.445 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.01822, allocations: 331.3 kB / 253.2 MB, free: 5.066 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01822, allocations: 0 / 253.2 MB, free: 5.066 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000253/0.01848, allocations: 355.2 kB / 253.5 MB, free: 4.664 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.145e-05/0.01855, allocations: 134.7 kB / 253.6 MB, free: 4.508 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.01855, allocations: 0 / 253.6 MB, free: 4.508 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.01856, allocations: 0 / 253.6 MB, free: 4.508 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-05/0.01858, allocations: 7.938 kB / 253.7 MB, free: 4.5 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.01858, allocations: 0 / 253.7 MB, free: 4.5 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.414e-05/0.01867, allocations: 11.98 kB / 253.7 MB, free: 4.488 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.969e-05/0.01871, allocations: 36.03 kB / 253.7 MB, free: 4.453 MB / 250.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.000261/0.01898, allocations: 345.4 kB / 254 MB, free: 4.082 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.01902, allocations: 36.02 kB / 254.1 MB, free: 4.047 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.714e-05/0.01911, allocations: 59.02 kB / 254.1 MB, free: 3.992 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.01911, allocations: 0 / 254.1 MB, free: 3.992 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.01911, allocations: 0 / 254.1 MB, free: 3.992 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.01911, allocations: 0 / 254.1 MB, free: 3.992 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004712/0.01958, allocations: 0.6133 MB / 254.7 MB, free: 3.309 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.01958, allocations: 4 kB / 254.7 MB, free: 3.305 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.167e-06/0.01959, allocations: 0 / 254.7 MB, free: 3.305 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002113/0.0198, allocations: 143.4 kB / 254.9 MB, free: 3.164 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.0198, allocations: 0 / 254.9 MB, free: 3.164 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.01982, allocations: 8 kB / 254.9 MB, free: 3.156 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.01982, allocations: 0 / 254.9 MB, free: 3.156 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01982, allocations: 192 / 254.9 MB, free: 3.156 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.02013, allocations: 0.4971 MB / 255.4 MB, free: 2.594 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.02017, allocations: 16 kB / 255.4 MB, free: 2.578 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003105/0.02327, allocations: 11.98 kB / 255.4 MB, free: 2.566 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.51e-05/0.02334, allocations: 27.95 kB / 255.4 MB, free: 2.539 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.802e-05/0.02338, allocations: 35.94 kB / 255.5 MB, free: 2.504 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000187/0.02356, allocations: 164.6 kB / 255.6 MB, free: 2.34 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02356, allocations: 0 / 255.6 MB, free: 2.34 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002241/0.02379, allocations: 40 kB / 255.7 MB, free: 2.301 MB / 250.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.627e-05/0.02388, allocations: 96.39 kB / 255.8 MB, free: 2.199 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003673/0.02425, allocations: 0.5664 MB / 256.3 MB, free: 1.531 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.02426, allocations: 7.984 kB / 256.4 MB, free: 1.523 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002218/0.02448, allocations: 416 kB / 256.8 MB, free: 1.039 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.02496, allocations: 388.7 kB / 257.1 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009908/0.02595, allocations: 0.7496 MB / 257.9 MB, free: 15.81 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.037e-05/0.02603, allocations: 99.25 kB / 258 MB, free: 15.7 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.528e-05/0.02606, allocations: 8.719 kB / 258 MB, free: 15.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003277/0.02934, allocations: 147.7 kB / 258.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.02934, allocations: 0 / 258.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of Templates: time 0.01238/0.04172, allocations: 4.37 MB / 262.5 MB, free: 11.22 MB / 266.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6167862191796303]