Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 124 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002135/0.002135, allocations: 190.9 kB / 20.73 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 249.1 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 51.92 kB / 365.6 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1073, allocations: 52.15 MB / 417.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002662/0.1099, allocations: 1.522 MB / 419.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.1118, allocations: 0.8497 MB / 420.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.094e-05/0.1119, allocations: 4 kB / 420.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.42e-05/0.1119, allocations: 11.86 kB / 420.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.614e-05/0.112, allocations: 23.86 kB / 420.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.1123, allocations: 51.88 kB / 420.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.1125, allocations: 131.7 kB / 420.4 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.907e-05/0.1126, allocations: 15.98 kB / 420.4 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004565/0.113, allocations: 387.3 kB / 420.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.1132, allocations: 71.69 kB / 420.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.603e-05/0.1132, allocations: 8 kB / 420.8 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.56e-05/0.1132, allocations: 8 kB / 420.9 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.702e-05/0.1133, allocations: 67.7 kB / 420.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.1134, allocations: 111.2 kB / 421 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003714/0.1138, allocations: 366.4 kB / 421.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1138, allocations: 0 / 421.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1138, allocations: 0 / 421.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.1138, allocations: 0 / 421.4 MB, free: 8.977 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.0008174/0.1146, allocations: 0.7305 MB / 422.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1147, allocations: 8.031 kB / 422.1 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.082e-05/0.1147, allocations: 42.69 kB / 422.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.834e-05/0.1148, allocations: 44.69 kB / 422.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.1151, allocations: 274.7 kB / 422.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.1151, allocations: 4.375 kB / 422.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.1152, allocations: 16.38 kB / 422.5 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000294/0.1155, allocations: 125.7 kB / 422.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1155, allocations: 0 / 422.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.1155, allocations: 7.938 kB / 422.6 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1155, allocations: 3.938 kB / 422.6 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.1156, allocations: 63.91 kB / 422.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006568/0.1163, allocations: 460.5 kB / 423.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.1165, allocations: 78.48 kB / 423.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.1166, allocations: 60.89 kB / 423.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.1166, allocations: 0 / 423.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003399/0.117, allocations: 202.1 kB / 423.5 MB, free: 6.672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.117, allocations: 0 / 423.5 MB, free: 6.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008158/0.1178, allocations: 472.1 kB / 423.9 MB, free: 6.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.1179, allocations: 170.2 kB / 424.1 MB, free: 5.977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006523/0.1185, allocations: 0.513 MB / 424.6 MB, free: 5.449 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.1186, allocations: 33.7 kB / 424.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.419e-05/0.1186, allocations: 97.12 kB / 424.7 MB, free: 5.312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.309e-05/0.1187, allocations: 27.81 kB / 424.8 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.1188, allocations: 81.55 kB / 424.9 MB, free: 5.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.119, allocations: 326.8 kB / 425.2 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.1191, allocations: 55.97 kB / 425.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.1192, allocations: 79.92 kB / 425.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.1196, allocations: 343.4 kB / 425.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1196, allocations: 0 / 425.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005827/0.1202, allocations: 376.3 kB / 426 MB, free: 3.945 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.1203, allocations: 130.8 kB / 426.1 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1203, allocations: 0 / 426.1 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1203, allocations: 0 / 426.1 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-05/0.1203, allocations: 4.031 kB / 426.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1203, allocations: 4 kB / 426.1 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.1205, allocations: 11.98 kB / 426.2 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.331e-05/0.1205, allocations: 36 kB / 426.2 MB, free: 3.738 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.0003651/0.1209, allocations: 370.2 kB / 426.5 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.298e-05/0.1209, allocations: 39.88 kB / 426.6 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.808e-05/0.121, allocations: 67.09 kB / 426.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.121, allocations: 0 / 426.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.121, allocations: 3.984 kB / 426.7 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.121, allocations: 4 kB / 426.7 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.122, allocations: 0.8132 MB / 427.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.122, allocations: 0 / 427.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.048e-06/0.122, allocations: 0 / 427.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.122, allocations: 0 / 427.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/0.1221, allocations: 12.19 kB / 427.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1221, allocations: 4 kB / 427.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.1221, allocations: 3.938 kB / 427.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006792/0.1228, allocations: 0.537 MB / 428 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003124/0.1231, allocations: 240.6 kB / 428.3 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.017e-05/0.1231, allocations: 12 kB / 428.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.1233, allocations: 11.98 kB / 428.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.576e-05/0.1234, allocations: 27.91 kB / 428.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.291e-05/0.1234, allocations: 39.98 kB / 428.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004978/0.1239, allocations: 390.9 kB / 428.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1239, allocations: 0 / 428.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002833/0.1242, allocations: 44 kB / 428.8 MB, free: 0.9766 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.001046/0.1252, allocations: 1.082 MB / 429.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004965/0.1257, allocations: 369.5 kB / 430.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1257, allocations: 0 / 430.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003134/0.126, allocations: 305.6 kB / 430.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000615/0.1267, allocations: 130.1 kB / 430.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003641/0.1303, allocations: 2.759 MB / 433.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005122/0.1308, allocations: 0.7982 MB / 434.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.636e-05/0.1309, allocations: 16.62 kB / 434.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.041e-05/0.1309, allocations: 27.44 kB / 434.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1309, allocations: 8 kB / 434.3 MB, free: 11.22 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03079/0.1617, allocations: 5.783 MB / 440 MB, free: 5.539 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.006/8.168, allocations: 9.938 kB / 440 MB, free: 5.535 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0023933 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_BUF3S.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable bUF3S.y in file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S_res.csv. Warning: Get data of variable bUF3S.y from file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.88313804520294]