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.001706/0.001706, allocations: 106.5 kB / 21.22 MB, free: 0.6797 MB / 14.72 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.002089/0.002089, allocations: 209.3 kB / 24.54 MB, free: 4.055 MB / 14.72 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.469/1.469, allocations: 230.3 MB / 258 MB, free: 8.246 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001922/0.001922, allocations: 63.89 kB / 378.8 MB, free: 2.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.268, allocations: 53.36 MB / 432.1 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002814/0.2708, allocations: 1.548 MB / 433.7 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.2728, allocations: 0.9004 MB / 434.6 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.061e-05/0.2729, allocations: 0 / 434.6 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.273, allocations: 7.875 kB / 434.6 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.715e-05/0.2731, allocations: 19.86 kB / 434.6 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002899/0.2734, allocations: 55.88 kB / 434.6 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.2736, allocations: 139.7 kB / 434.8 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.428e-05/0.2737, allocations: 15.94 kB / 434.8 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004817/0.2742, allocations: 399.2 kB / 435.2 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.2743, allocations: 67.75 kB / 435.2 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.483e-05/0.2744, allocations: 8 kB / 435.3 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.653e-05/0.2744, allocations: 12 kB / 435.3 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.753e-05/0.2745, allocations: 63.7 kB / 435.3 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.2746, allocations: 115.1 kB / 435.4 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003824/0.275, allocations: 360.2 kB / 435.8 MB, free: 3.387 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.275, allocations: 0 / 435.8 MB, free: 3.387 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.275, allocations: 0 / 435.8 MB, free: 3.387 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.275, allocations: 0 / 435.8 MB, free: 3.387 MB / 334.1 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.0007913/0.2758, allocations: 0.6552 MB / 436.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.2759, allocations: 8.031 kB / 436.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.929e-05/0.276, allocations: 44.69 kB / 436.5 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.2763, allocations: 212.8 kB / 436.7 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.2763, allocations: 8.375 kB / 436.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.2763, allocations: 4.375 kB / 436.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/0.2767, allocations: 129.9 kB / 436.8 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2767, allocations: 0 / 436.8 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.2767, allocations: 7.984 kB / 436.9 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2767, allocations: 0 / 436.9 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.2769, allocations: 55.97 kB / 436.9 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007187/0.2776, allocations: 435.5 kB / 437.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.2778, allocations: 74.55 kB / 437.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.2779, allocations: 68.81 kB / 437.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-06/0.2779, allocations: 0 / 437.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000427/0.2783, allocations: 194.7 kB / 437.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/0.2783, allocations: 0 / 437.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009256/0.2793, allocations: 464.2 kB / 438.1 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.2794, allocations: 170.2 kB / 438.3 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007176/0.2801, allocations: 0.5169 MB / 438.8 MB, free: 136 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.2801, allocations: 29.81 kB / 438.8 MB, free: 100 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.2803, allocations: 105 kB / 438.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.2803, allocations: 23.8 kB / 439 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.2804, allocations: 89.5 kB / 439 MB, free: 15.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.2806, allocations: 326.8 kB / 439.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.2808, allocations: 51.97 kB / 439.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.2809, allocations: 73.69 kB / 439.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003894/0.2813, allocations: 338.7 kB / 439.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2813, allocations: 0 / 439.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008072/0.2821, allocations: 372.3 kB / 440.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001266/0.2822, allocations: 126.8 kB / 440.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2823, allocations: 3.938 kB / 440.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.575e-05/0.2823, allocations: 0 / 440.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.339e-05/0.2823, allocations: 128 / 440.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.2823, allocations: 8.031 kB / 440.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.2825, allocations: 15.95 kB / 440.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.362e-05/0.2826, allocations: 39.98 kB / 440.4 MB, free: 14.43 MB / 350.1 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.0005368/0.2832, allocations: 370.2 kB / 440.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.703e-05/0.2832, allocations: 35.81 kB / 440.8 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/0.2834, allocations: 67.09 kB / 440.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.2834, allocations: 0 / 440.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.2834, allocations: 0 / 440.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.2834, allocations: 0 / 440.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/0.285, allocations: 0.789 MB / 441.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.285, allocations: 0 / 441.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.341e-06/0.285, allocations: 0 / 441.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.285, allocations: 0 / 441.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.417e-05/0.2851, allocations: 11.98 kB / 441.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.2851, allocations: 4 kB / 441.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.2851, allocations: 3.938 kB / 441.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.2862, allocations: 0.537 MB / 442.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006045/0.2868, allocations: 205.3 kB / 442.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.61e-05/0.2868, allocations: 8 kB / 442.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.2871, allocations: 11.98 kB / 442.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.2872, allocations: 27.91 kB / 442.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.575e-05/0.2873, allocations: 47.92 kB / 442.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007698/0.2881, allocations: 382.9 kB / 442.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2881, allocations: 0 / 442.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005467/0.2886, allocations: 40 kB / 442.9 MB, free: 11.76 MB / 350.1 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.0002333/0.2889, allocations: 119.1 kB / 443 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000807/0.2897, allocations: 373.5 kB / 443.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.2897, allocations: 0 / 443.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004538/0.2901, allocations: 301.6 kB / 443.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.2912, allocations: 128.8 kB / 443.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.293, allocations: 0.6571 MB / 444.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007081/0.2937, allocations: 0.81 MB / 445.3 MB, free: 9.246 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.863e-05/0.2937, allocations: 4.672 kB / 445.3 MB, free: 9.238 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.2938, allocations: 11.44 kB / 445.3 MB, free: 9.227 MB / 350.1 MB Notification: Performance of SimCode: time 6.12e-07/0.2938, allocations: 3.938 kB / 445.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of Templates: time 0.01279/0.3066, allocations: 4.416 MB / 449.7 MB, free: 4.828 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.6799516482278705]