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.001327/0.001327, allocations: 112 kB / 20.43 MB, free: 1.457 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.001376/0.001376, allocations: 181.3 kB / 23.72 MB, free: 4.699 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.414/1.414, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.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.001544/0.001544, allocations: 47.92 kB / 370.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2809, allocations: 52.2 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002981/0.2839, allocations: 1.529 MB / 424.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.2858, allocations: 0.8499 MB / 425 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.2858, allocations: 0 / 425 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.2859, allocations: 15.86 kB / 425 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.588e-05/0.286, allocations: 19.86 kB / 425 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.2863, allocations: 55.88 kB / 425.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.2865, allocations: 135.7 kB / 425.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.2866, allocations: 15.97 kB / 425.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004974/0.2871, allocations: 391.2 kB / 425.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.2873, allocations: 71.77 kB / 425.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.651e-05/0.2873, allocations: 8 kB / 425.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.948e-05/0.2873, allocations: 12 kB / 425.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.2874, allocations: 59.7 kB / 425.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.2876, allocations: 115.2 kB / 425.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004089/0.288, allocations: 362.9 kB / 426.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.288, allocations: 0 / 426.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.288, allocations: 0 / 426.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.288, allocations: 0 / 426.2 MB, free: 10.96 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.0008049/0.2888, allocations: 0.6629 MB / 426.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.2888, allocations: 12.03 kB / 426.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.001e-05/0.2889, allocations: 38.75 kB / 427 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.536e-05/0.2889, allocations: 40.7 kB / 427 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.2892, allocations: 212.9 kB / 427.2 MB, free: 9.914 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.2893, allocations: 12.31 kB / 427.2 MB, free: 9.902 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.2893, allocations: 8.312 kB / 427.2 MB, free: 9.895 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003209/0.2896, allocations: 133.7 kB / 427.4 MB, free: 9.758 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.2896, allocations: 0 / 427.4 MB, free: 9.758 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.2896, allocations: 4 kB / 427.4 MB, free: 9.754 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.2896, allocations: 0 / 427.4 MB, free: 9.754 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.2898, allocations: 59.97 kB / 427.4 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00071/0.2905, allocations: 431.5 kB / 427.8 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.2907, allocations: 70.55 kB / 427.9 MB, free: 9.152 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.2908, allocations: 60.89 kB / 428 MB, free: 9.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.2908, allocations: 0 / 428 MB, free: 9.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004081/0.2912, allocations: 206.7 kB / 428.2 MB, free: 8.863 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.2912, allocations: 0 / 428.2 MB, free: 8.863 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008023/0.292, allocations: 460.1 kB / 428.6 MB, free: 8.383 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/0.2922, allocations: 166.2 kB / 428.8 MB, free: 8.184 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006874/0.2929, allocations: 0.5169 MB / 429.3 MB, free: 7.656 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.2929, allocations: 25.7 kB / 429.3 MB, free: 7.625 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.97e-05/0.293, allocations: 97.14 kB / 429.4 MB, free: 7.527 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.682e-05/0.293, allocations: 39.72 kB / 429.5 MB, free: 7.488 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.2931, allocations: 81.56 kB / 429.5 MB, free: 7.402 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.2933, allocations: 326.8 kB / 429.9 MB, free: 7.074 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.2934, allocations: 55.97 kB / 429.9 MB, free: 7.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.2936, allocations: 69.67 kB / 430 MB, free: 6.945 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004131/0.294, allocations: 346.7 kB / 430.3 MB, free: 6.555 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.294, allocations: 3.938 kB / 430.3 MB, free: 6.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005422/0.2945, allocations: 376.3 kB / 430.7 MB, free: 6.152 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001138/0.2946, allocations: 122.8 kB / 430.8 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.2947, allocations: 0 / 430.8 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2947, allocations: 0 / 430.8 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.299e-05/0.2947, allocations: 3.984 kB / 430.8 MB, free: 6.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.2947, allocations: 4 kB / 430.8 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.2948, allocations: 12 kB / 430.8 MB, free: 5.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-05/0.2949, allocations: 39.94 kB / 430.9 MB, free: 5.949 MB / 334.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.0003909/0.2953, allocations: 370.2 kB / 431.2 MB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.627e-05/0.2953, allocations: 43.75 kB / 431.3 MB, free: 5.512 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.2954, allocations: 63.09 kB / 431.3 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.2955, allocations: 4 kB / 431.3 MB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.2955, allocations: 0 / 431.3 MB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2955, allocations: 0 / 431.3 MB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.2965, allocations: 0.7812 MB / 432.1 MB, free: 4.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.2965, allocations: 0 / 432.1 MB, free: 4.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.379e-06/0.2965, allocations: 0 / 432.1 MB, free: 4.586 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.2965, allocations: 3.938 kB / 432.1 MB, free: 4.582 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/0.2965, allocations: 19.98 kB / 432.1 MB, free: 4.562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2965, allocations: 0 / 432.1 MB, free: 4.562 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.2965, allocations: 7.938 kB / 432.1 MB, free: 4.555 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006743/0.2972, allocations: 0.5215 MB / 432.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003799/0.2976, allocations: 205.4 kB / 432.9 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.274e-05/0.2976, allocations: 12.25 kB / 432.9 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.2978, allocations: 8 kB / 432.9 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.2979, allocations: 39.91 kB / 432.9 MB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.377e-05/0.2979, allocations: 39.94 kB / 433 MB, free: 3.695 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004955/0.2984, allocations: 386.9 kB / 433.3 MB, free: 3.316 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2984, allocations: 0 / 433.3 MB, free: 3.316 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002836/0.2987, allocations: 44 kB / 433.4 MB, free: 3.273 MB / 334.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.001057/0.2998, allocations: 1.081 MB / 434.5 MB, free: 2.145 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005475/0.3003, allocations: 377.5 kB / 434.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3003, allocations: 0 / 434.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003576/0.3007, allocations: 297.5 kB / 435.1 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006911/0.3014, allocations: 141 kB / 435.3 MB, free: 1.266 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003872/0.3052, allocations: 2.74 MB / 438 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005817/0.3058, allocations: 0.8022 MB / 438.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.344e-05/0.3059, allocations: 12.64 kB / 438.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.58e-05/0.3059, allocations: 23.44 kB / 438.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3059, allocations: 4 kB / 438.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03548/0.3414, allocations: 5.94 MB / 444.8 MB, free: 7.746 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.16, allocations: 7.312 kB / 444.8 MB, free: 7.742 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.644408584001212]