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.001537/0.001537, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001768/0.001768, allocations: 171.9 kB / 24.82 MB, free: 9.273 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.138/1.138, allocations: 177 MB / 205.1 MB, free: 5.469 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 2.094e-06/2.094e-06, allocations: 0 / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.567e-05, allocations: 2.312 kB / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002114/0.002139, allocations: 1.541 MB / 274.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.003732, allocations: 0.8458 MB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.249e-05/0.003824, allocations: 3.938 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.003938, allocations: 15.92 kB / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.557e-05/0.004024, allocations: 19.86 kB / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.004318, allocations: 55.8 kB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.004515, allocations: 135.7 kB / 275.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.352e-05/0.004598, allocations: 15.92 kB / 275.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003914/0.00499, allocations: 407.3 kB / 276.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.00509, allocations: 59.81 kB / 276.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.379e-05/0.005124, allocations: 8 kB / 276.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.359e-05/0.005148, allocations: 12 kB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.698e-05/0.005215, allocations: 75.64 kB / 276.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.254e-05/0.005277, allocations: 51.8 kB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.005497, allocations: 255.1 kB / 276.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.005498, allocations: 0 / 276.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005499, allocations: 0 / 276.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.005504, allocations: 7.922 kB / 276.8 MB, free: 13.72 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.0006644/0.006169, allocations: 0.7862 MB / 277.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.006216, allocations: 11.98 kB / 277.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.97e-05/0.006295, allocations: 44.7 kB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.006498, allocations: 218.9 kB / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.006518, allocations: 4.375 kB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.006534, allocations: 12.38 kB / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.006796, allocations: 237.6 kB / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.006806, allocations: 4.188 kB / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.006821, allocations: 4.375 kB / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.006827, allocations: 3.938 kB / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.117e-05/0.006918, allocations: 158.8 kB / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004557/0.007374, allocations: 408 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.007505, allocations: 181.8 kB / 278.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.827e-05/0.007593, allocations: 162.5 kB / 279 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.007602, allocations: 4 kB / 279 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/0.007801, allocations: 311 kB / 279.3 MB, free: 10.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.084e-06/0.007803, allocations: 7.984 kB / 279.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.00053/0.008333, allocations: 0.646 MB / 280 MB, free: 10.19 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/0.008393, allocations: 170.2 kB / 280.1 MB, free: 9.984 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004523/0.008845, allocations: 0.506 MB / 280.6 MB, free: 9.465 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.008871, allocations: 29.7 kB / 280.7 MB, free: 9.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.191e-05/0.008933, allocations: 155.9 kB / 280.8 MB, free: 9.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.008959, allocations: 27.78 kB / 280.9 MB, free: 9.242 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.96e-05/0.009038, allocations: 91.14 kB / 280.9 MB, free: 9.145 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.009157, allocations: 0.4923 MB / 281.4 MB, free: 8.641 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.929e-05/0.009257, allocations: 154.8 kB / 281.6 MB, free: 8.465 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.909e-05/0.009346, allocations: 176.9 kB / 281.8 MB, free: 8.262 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.009513, allocations: 324.9 kB / 282.1 MB, free: 7.887 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.009515, allocations: 0 / 282.1 MB, free: 7.887 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003269/0.009842, allocations: 463.1 kB / 282.5 MB, free: 7.379 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.891e-05/0.009901, allocations: 130 kB / 282.7 MB, free: 7.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.009906, allocations: 0 / 282.7 MB, free: 7.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.00992, allocations: 3.984 kB / 282.7 MB, free: 7.227 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.675e-05/0.009937, allocations: 7.938 kB / 282.7 MB, free: 7.219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-06/0.009939, allocations: 0 / 282.7 MB, free: 7.219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.573e-05/0.01002, allocations: 15.95 kB / 282.7 MB, free: 7.203 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.01006, allocations: 36 kB / 282.7 MB, free: 7.168 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.0002403/0.0103, allocations: 389.3 kB / 283.1 MB, free: 6.754 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.01034, allocations: 51.7 kB / 283.1 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.108e-05/0.01042, allocations: 63.08 kB / 283.2 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.01043, allocations: 0 / 283.2 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.01043, allocations: 0 / 283.2 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.01043, allocations: 0 / 283.2 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005994/0.01103, allocations: 0.8352 MB / 284 MB, free: 5.723 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.01103, allocations: 0 / 284 MB, free: 5.723 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.743e-06/0.01104, allocations: 3.938 kB / 284 MB, free: 5.719 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01104, allocations: 192 / 284 MB, free: 5.719 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.01106, allocations: 23.98 kB / 284.1 MB, free: 5.695 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.01106, allocations: 0 / 284.1 MB, free: 5.695 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01106, allocations: 0 / 284.1 MB, free: 5.695 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004125/0.01148, allocations: 0.6845 MB / 284.8 MB, free: 4.945 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002183/0.0117, allocations: 185.3 kB / 284.9 MB, free: 4.766 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/0.01173, allocations: 12 kB / 285 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.906e-05/0.01181, allocations: 11.98 kB / 285 MB, free: 4.742 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.01187, allocations: 19.98 kB / 285 MB, free: 4.723 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.403e-05/0.0119, allocations: 43.94 kB / 285 MB, free: 4.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002237/0.01212, allocations: 302.9 kB / 285.3 MB, free: 4.387 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01212, allocations: 0 / 285.3 MB, free: 4.387 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002023/0.01233, allocations: 44 kB / 285.4 MB, free: 4.344 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.000112/0.01244, allocations: 115 kB / 285.5 MB, free: 4.219 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003611/0.0128, allocations: 0.573 MB / 286 MB, free: 3.543 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.0128, allocations: 0 / 286 MB, free: 3.543 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002168/0.01302, allocations: 412 kB / 286.5 MB, free: 3.062 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.01344, allocations: 128.1 kB / 286.6 MB, free: 2.941 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007886/0.01423, allocations: 0.7407 MB / 287.3 MB, free: 2.148 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.078e-05/0.0143, allocations: 99.33 kB / 287.4 MB, free: 2.031 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.271e-05/0.01436, allocations: 12.7 kB / 287.4 MB, free: 2.016 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002386/0.01459, allocations: 174.4 kB / 287.6 MB, free: 1.844 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01459, allocations: 4 kB / 287.6 MB, free: 1.84 MB / 266.7 MB Notification: Performance of Templates: time 0.00597/0.02056, allocations: 4.444 MB / 292 MB, free: 13.45 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.9009980438277125]