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.001367/0.001367, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001444/0.001444, allocations: 159.4 kB / 24.99 MB, free: 8.297 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 0.9825/0.9825, allocations: 177 MB / 205.2 MB, free: 5.594 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.684e-06/1.684e-06, allocations: 0 / 273 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.944e-05, allocations: 4.844 kB / 273 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002961/0.002991, allocations: 1.537 MB / 274.5 MB, free: 204 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.005018, allocations: 0.8497 MB / 275.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.513e-05/0.005093, allocations: 4 kB / 275.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.005194, allocations: 15.86 kB / 275.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.088e-05/0.005285, allocations: 19.84 kB / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.00558, allocations: 51.88 kB / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.005792, allocations: 131.7 kB / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.005902, allocations: 19.91 kB / 275.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004982/0.006401, allocations: 411.2 kB / 276 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.006527, allocations: 55.83 kB / 276.1 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.929e-05/0.006567, allocations: 8 kB / 276.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.627e-05/0.006593, allocations: 16 kB / 276.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.628e-05/0.006679, allocations: 63.77 kB / 276.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.958e-05/0.006779, allocations: 59.67 kB / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003364/0.007115, allocations: 263.1 kB / 276.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.007118, allocations: 0 / 276.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.007119, allocations: 0 / 276.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.007126, allocations: 0 / 276.5 MB, free: 14.25 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.0008059/0.007932, allocations: 0.7863 MB / 277.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.007975, allocations: 11.98 kB / 277.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.008077, allocations: 48.7 kB / 277.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.008337, allocations: 222.9 kB / 277.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.008362, allocations: 8.375 kB / 277.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.008388, allocations: 8.375 kB / 277.6 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003726/0.00876, allocations: 245.7 kB / 277.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.00877, allocations: 4.188 kB / 277.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.008791, allocations: 384 / 277.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.008802, allocations: 7.938 kB / 277.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.008962, allocations: 170.7 kB / 278 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000722/0.009684, allocations: 495.4 kB / 278.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.009884, allocations: 189.8 kB / 278.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.01003, allocations: 178.5 kB / 278.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.936e-06/0.01004, allocations: 7.938 kB / 278.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000293/0.01034, allocations: 311.2 kB / 279.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.936e-06/0.01034, allocations: 0 / 279.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.000842/0.01118, allocations: 0.6775 MB / 279.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.872e-05/0.01127, allocations: 166.2 kB / 280 MB, free: 10.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008549/0.01212, allocations: 0.631 MB / 280.6 MB, free: 9.691 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.01215, allocations: 33.69 kB / 280.6 MB, free: 9.652 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.344e-05/0.01223, allocations: 147.9 kB / 280.8 MB, free: 9.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.01227, allocations: 31.83 kB / 280.8 MB, free: 9.469 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.01237, allocations: 83.17 kB / 280.9 MB, free: 9.379 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.0125, allocations: 0.4923 MB / 281.4 MB, free: 8.875 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.01265, allocations: 166.7 kB / 281.5 MB, free: 8.688 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.0128, allocations: 186.2 kB / 281.7 MB, free: 8.473 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.01304, allocations: 336.5 kB / 282.1 MB, free: 8.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01305, allocations: 0 / 282.1 MB, free: 8.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004972/0.01354, allocations: 495.1 kB / 282.5 MB, free: 7.551 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.336e-05/0.01363, allocations: 125.9 kB / 282.7 MB, free: 7.406 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.01363, allocations: 0 / 282.7 MB, free: 7.406 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.01365, allocations: 4 kB / 282.7 MB, free: 7.402 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.907e-05/0.01367, allocations: 0 / 282.7 MB, free: 7.402 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.01367, allocations: 0 / 282.7 MB, free: 7.402 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.0138, allocations: 19.94 kB / 282.7 MB, free: 7.383 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.097e-05/0.01385, allocations: 40 kB / 282.7 MB, free: 7.344 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.0003132/0.01417, allocations: 397.2 kB / 283.1 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.483e-05/0.01423, allocations: 51.7 kB / 283.2 MB, free: 6.871 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.053e-05/0.01432, allocations: 55.09 kB / 283.2 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.01432, allocations: 0 / 283.2 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.01433, allocations: 4 kB / 283.2 MB, free: 6.812 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.01433, allocations: 0 / 283.2 MB, free: 6.812 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009959/0.01533, allocations: 0.9361 MB / 284.2 MB, free: 5.785 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.01533, allocations: 4.188 kB / 284.2 MB, free: 5.781 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.923e-06/0.01534, allocations: 7.938 kB / 284.2 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.01534, allocations: 3.984 kB / 284.2 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.01537, allocations: 12 kB / 284.2 MB, free: 5.758 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.01537, allocations: 0 / 284.2 MB, free: 5.758 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01537, allocations: 4 kB / 284.2 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006325/0.016, allocations: 0.6964 MB / 284.9 MB, free: 4.988 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000322/0.01633, allocations: 181.4 kB / 285.1 MB, free: 4.812 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.611e-05/0.01638, allocations: 12 kB / 285.1 MB, free: 4.801 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.0165, allocations: 8 kB / 285.1 MB, free: 4.793 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.0166, allocations: 31.89 kB / 285.1 MB, free: 4.762 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-05/0.01665, allocations: 47.92 kB / 285.2 MB, free: 4.715 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005159/0.01717, allocations: 430.7 kB / 285.6 MB, free: 4.297 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01717, allocations: 0 / 285.6 MB, free: 4.297 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00032/0.01749, allocations: 40 kB / 285.6 MB, free: 4.258 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.0001397/0.01763, allocations: 119 kB / 285.7 MB, free: 4.129 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005433/0.01817, allocations: 0.5926 MB / 286.3 MB, free: 3.434 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01817, allocations: 0 / 286.3 MB, free: 3.434 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000283/0.01846, allocations: 428 kB / 286.7 MB, free: 2.938 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005904/0.01905, allocations: 137.8 kB / 286.9 MB, free: 2.812 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.02019, allocations: 0.7525 MB / 287.6 MB, free: 2.008 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.0203, allocations: 99.33 kB / 287.7 MB, free: 1.891 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.619e-05/0.02035, allocations: 12.7 kB / 287.7 MB, free: 1.875 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.02039, allocations: 12.5 kB / 287.8 MB, free: 1.859 MB / 266.7 MB Notification: Performance of SimCode: time 1.423e-06/0.02039, allocations: 0 / 287.8 MB, free: 1.859 MB / 266.7 MB Notification: Performance of Templates: time 0.007595/0.02799, allocations: 4.766 MB / 292.5 MB, free: 13.15 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.831461458001286]