Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 211.5 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 47.92 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2742, allocations: 53.37 MB / 431.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002712/0.2769, allocations: 1.487 MB / 432.6 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.2789, allocations: 0.8381 MB / 433.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.151e-05/0.279, allocations: 0 / 433.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.2791, allocations: 7.922 kB / 433.4 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.771e-05/0.2792, allocations: 23.8 kB / 433.4 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.2795, allocations: 55.88 kB / 433.5 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002313/0.2797, allocations: 131.7 kB / 433.6 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.883e-05/0.2798, allocations: 19.98 kB / 433.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005017/0.2803, allocations: 395.3 kB / 434 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.2805, allocations: 67.73 kB / 434.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.985e-05/0.2805, allocations: 12 kB / 434.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.905e-05/0.2805, allocations: 8 kB / 434.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.234e-05/0.2806, allocations: 75.58 kB / 434.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.2807, allocations: 75.42 kB / 434.3 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004104/0.2811, allocations: 360.1 kB / 434.6 MB, free: 3.109 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.2811, allocations: 0 / 434.6 MB, free: 3.109 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2811, allocations: 0 / 434.6 MB, free: 3.109 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.2811, allocations: 4 kB / 434.6 MB, free: 3.105 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.0009977/0.2821, allocations: 0.6591 MB / 435.3 MB, free: 2.391 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.2822, allocations: 12.03 kB / 435.3 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.608e-05/0.2823, allocations: 50.66 kB / 435.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.406e-05/0.2823, allocations: 36.7 kB / 435.4 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.2827, allocations: 216.8 kB / 435.6 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.2827, allocations: 4.375 kB / 435.6 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.2827, allocations: 8.375 kB / 435.6 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003929/0.2831, allocations: 240.5 kB / 435.8 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.2831, allocations: 0 / 435.8 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.2831, allocations: 8 kB / 435.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2831, allocations: 0 / 435.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002244/0.2834, allocations: 182.8 kB / 436 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007079/0.2841, allocations: 407.5 kB / 436.4 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.2844, allocations: 193.3 kB / 436.6 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/0.2846, allocations: 179.7 kB / 436.8 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.2846, allocations: 0 / 436.8 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005028/0.2851, allocations: 325.4 kB / 437.1 MB, free: 332 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.522e-06/0.2851, allocations: 0 / 437.1 MB, free: 332 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001061/0.2862, allocations: 0.6889 MB / 437.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001873/0.2864, allocations: 178.2 kB / 438 MB, free: 15.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007031/0.2871, allocations: 0.5129 MB / 438.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.119e-05/0.2871, allocations: 33.7 kB / 438.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.149e-05/0.2872, allocations: 101.1 kB / 438.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.688e-05/0.2872, allocations: 27.84 kB / 438.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.2874, allocations: 81.5 kB / 438.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.2876, allocations: 326.8 kB / 439 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.2878, allocations: 174.8 kB / 439.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.288, allocations: 195.2 kB / 439.4 MB, free: 13.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/0.2884, allocations: 351.2 kB / 439.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2884, allocations: 4 kB / 439.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000703/0.2891, allocations: 499.2 kB / 440.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001155/0.2892, allocations: 122.8 kB / 440.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2892, allocations: 0 / 440.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.2893, allocations: 0 / 440.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.891e-05/0.2893, allocations: 7.938 kB / 440.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.2893, allocations: 3.984 kB / 440.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.2894, allocations: 16.02 kB / 440.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.099e-05/0.2895, allocations: 44 kB / 440.4 MB, free: 12.67 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.0003767/0.2899, allocations: 374.2 kB / 440.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.565e-05/0.2899, allocations: 43.75 kB / 440.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.2901, allocations: 63.09 kB / 440.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2901, allocations: 0 / 440.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2901, allocations: 0 / 440.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2901, allocations: 0 / 440.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.2912, allocations: 0.8855 MB / 441.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2912, allocations: 0 / 441.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-06/0.2912, allocations: 0 / 441.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2912, allocations: 0 / 441.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/0.2912, allocations: 19.98 kB / 441.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2912, allocations: 4 kB / 441.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2912, allocations: 3.938 kB / 441.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008691/0.2921, allocations: 0.64 MB / 442.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004115/0.2925, allocations: 205.4 kB / 442.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.842e-05/0.2926, allocations: 12 kB / 442.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.2927, allocations: 8 kB / 442.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.2928, allocations: 27.91 kB / 442.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-05/0.2929, allocations: 47.86 kB / 442.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005323/0.2934, allocations: 386.9 kB / 443.1 MB, free: 9.777 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2934, allocations: 0 / 443.1 MB, free: 9.777 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003011/0.2937, allocations: 51.94 kB / 443.2 MB, free: 9.727 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.001322/0.295, allocations: 1.202 MB / 444.4 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007135/0.2957, allocations: 0.6047 MB / 445 MB, free: 7.746 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2957, allocations: 0 / 445 MB, free: 7.746 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004178/0.2962, allocations: 424.5 kB / 445.4 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006461/0.2968, allocations: 131.6 kB / 445.5 MB, free: 7.141 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004171/0.301, allocations: 3.34 MB / 448.8 MB, free: 3.566 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.3013, allocations: 202.4 kB / 449 MB, free: 3.348 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.074e-05/0.3013, allocations: 4.672 kB / 449 MB, free: 3.344 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.71e-05/0.3014, allocations: 31.42 kB / 449.1 MB, free: 3.312 MB / 350.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3014, allocations: 0 / 449.1 MB, free: 3.312 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03493/0.3363, allocations: 6.811 MB / 455.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.25, allocations: 3.984 kB / 455.9 MB, free: 12.68 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Digital_Examples_BUF3S_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Digital_Examples_BUF3S.fmu > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 13.647887545987032]