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.001322/0.001322, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.001416/0.001416, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.531/1.531, allocations: 230.2 MB / 254.5 MB, free: 15.25 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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 63.89 kB / 373.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1233, allocations: 53.33 MB / 426.7 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003364/0.1266, allocations: 1.535 MB / 428.2 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002347/0.129, allocations: 0.881 MB / 429.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.1291, allocations: 4 kB / 429.1 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.1292, allocations: 15.8 kB / 429.1 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.1293, allocations: 15.86 kB / 429.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.1296, allocations: 51.89 kB / 429.2 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000256/0.1299, allocations: 135.7 kB / 429.3 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.13, allocations: 11.98 kB / 429.3 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005476/0.1306, allocations: 399.2 kB / 429.7 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.1307, allocations: 63.77 kB / 429.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.348e-05/0.1307, allocations: 16 kB / 429.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.784e-05/0.1308, allocations: 8 kB / 429.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.1309, allocations: 71.73 kB / 429.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.131, allocations: 115.1 kB / 430 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00044/0.1315, allocations: 354.5 kB / 430.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1315, allocations: 0 / 430.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1315, allocations: 0 / 430.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.1315, allocations: 0 / 430.3 MB, free: 1.422 MB / 350.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.0009242/0.1324, allocations: 0.7305 MB / 431 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.1324, allocations: 8.031 kB / 431 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.065e-05/0.1325, allocations: 50.67 kB / 431.1 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.963e-05/0.1326, allocations: 40.7 kB / 431.1 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.1329, allocations: 270.7 kB / 431.4 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.133, allocations: 8.375 kB / 431.4 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.133, allocations: 8.375 kB / 431.4 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003155/0.1333, allocations: 129.7 kB / 431.5 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1333, allocations: 0 / 431.5 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.1333, allocations: 12 kB / 431.6 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1333, allocations: 0 / 431.6 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2123/0.3456, allocations: 54.67 kB / 431.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009683/0.3466, allocations: 454.1 kB / 432.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.3468, allocations: 79.75 kB / 432.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.3469, allocations: 59 kB / 432.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.3469, allocations: 1.281 kB / 432.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004165/0.3473, allocations: 202.7 kB / 432.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.793e-06/0.3473, allocations: 1.938 kB / 432.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007993/0.3481, allocations: 465.5 kB / 432.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.384e-05/0.3482, allocations: 172.2 kB / 433 MB, free: 10.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006136/0.3488, allocations: 0.5165 MB / 433.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.3489, allocations: 30.61 kB / 433.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.636e-05/0.3489, allocations: 101.1 kB / 433.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.3489, allocations: 28 kB / 433.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.3491, allocations: 81.61 kB / 433.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.652e-05/0.3491, allocations: 325.8 kB / 434.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.3492, allocations: 53.02 kB / 434.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.3494, allocations: 78.64 kB / 434.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.3497, allocations: 338.3 kB / 434.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3497, allocations: 4.688 kB / 434.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004538/0.3501, allocations: 385.8 kB / 434.9 MB, free: 9.512 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.632e-05/0.3502, allocations: 125.5 kB / 435 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3502, allocations: 4.469 kB / 435.1 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.3502, allocations: 0 / 435.1 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.333e-05/0.3502, allocations: 1.125 kB / 435.1 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.3502, allocations: 2.328 kB / 435.1 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.3504, allocations: 13.73 kB / 435.1 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.368e-05/0.3505, allocations: 39.16 kB / 435.1 MB, free: 9.387 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.0003103/0.3508, allocations: 371.2 kB / 435.5 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.786e-05/0.3508, allocations: 39.61 kB / 435.5 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.3509, allocations: 69 kB / 435.6 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.351, allocations: 1.062 kB / 435.6 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.351, allocations: 0 / 435.6 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.351, allocations: 0 / 435.6 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008978/0.3519, allocations: 0.804 MB / 436.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3519, allocations: 0 / 436.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-06/0.3519, allocations: 5.031 kB / 436.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.3519, allocations: 1.125 kB / 436.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.3519, allocations: 18.53 kB / 436.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3519, allocations: 0 / 436.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3519, allocations: 1.125 kB / 436.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005853/0.3525, allocations: 0.535 MB / 436.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003077/0.3528, allocations: 244.6 kB / 437.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.351e-05/0.3528, allocations: 12.14 kB / 437.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.353, allocations: 9.75 kB / 437.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.3531, allocations: 22.86 kB / 437.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.119e-05/0.3531, allocations: 44.34 kB / 437.3 MB, free: 8.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005022/0.3536, allocations: 387 kB / 437.6 MB, free: 7.977 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3536, allocations: 1.125 kB / 437.6 MB, free: 7.977 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002973/0.3539, allocations: 51.61 kB / 437.7 MB, free: 7.973 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.0009316/0.3549, allocations: 1.077 MB / 438.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005003/0.3554, allocations: 374.2 kB / 439.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3554, allocations: 3.438 kB / 439.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000252/0.3556, allocations: 299.2 kB / 439.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006658/0.3563, allocations: 125 kB / 439.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003249/0.3595, allocations: 2.758 MB / 442.3 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.3599, allocations: 0.8078 MB / 443.1 MB, free: 3.844 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.779e-05/0.36, allocations: 9.234 kB / 443.1 MB, free: 3.844 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.117e-05/0.3601, allocations: 32.83 kB / 443.2 MB, free: 3.82 MB / 350.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3601, allocations: 0 / 443.2 MB, free: 3.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03245/0.3925, allocations: 5.781 MB / 448.9 MB, free: 3.094 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.096/8.489, allocations: 13.12 kB / 449 MB, free: 3.082 MB / 350.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_BUF3S_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_BUF3S.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.012265705969185]