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.001743/0.001743, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002053/0.002053, allocations: 201 kB / 23.73 MB, free: 4.379 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.465/1.465, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001566/0.001566, allocations: 55.92 kB / 377.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.274, allocations: 53.36 MB / 431.1 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002778/0.2768, allocations: 1.499 MB / 432.6 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.2788, allocations: 0.8381 MB / 433.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.58e-05/0.2789, allocations: 0 / 433.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.693e-05/0.279, allocations: 7.938 kB / 433.4 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.217e-05/0.279, allocations: 23.84 kB / 433.4 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.2793, allocations: 51.83 kB / 433.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000213/0.2795, allocations: 135.8 kB / 433.6 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.2796, allocations: 19.94 kB / 433.6 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004861/0.2801, allocations: 395.2 kB / 434 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.2802, allocations: 63.7 kB / 434.1 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.605e-05/0.2803, allocations: 8 kB / 434.1 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.484e-05/0.2803, allocations: 12 kB / 434.1 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.731e-05/0.2804, allocations: 59.77 kB / 434.2 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.2805, allocations: 91.28 kB / 434.3 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004084/0.2809, allocations: 360.2 kB / 434.6 MB, free: 3.062 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2809, allocations: 0 / 434.6 MB, free: 3.062 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2809, allocations: 0 / 434.6 MB, free: 3.062 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.2809, allocations: 0 / 434.6 MB, free: 3.062 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.0008352/0.2818, allocations: 0.6629 MB / 435.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.2818, allocations: 8.031 kB / 435.3 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.794e-05/0.2819, allocations: 46.69 kB / 435.3 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.494e-05/0.2819, allocations: 36.7 kB / 435.4 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/0.2823, allocations: 220.8 kB / 435.6 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.2823, allocations: 8.375 kB / 435.6 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.2823, allocations: 8.375 kB / 435.6 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003987/0.2827, allocations: 240.5 kB / 435.8 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.2827, allocations: 0 / 435.8 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.2828, allocations: 8 kB / 435.8 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2828, allocations: 0 / 435.8 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002263/0.283, allocations: 170.8 kB / 436 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007827/0.2838, allocations: 411.6 kB / 436.4 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.284, allocations: 193.3 kB / 436.6 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.2843, allocations: 175.7 kB / 436.8 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.2843, allocations: 4 kB / 436.8 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004984/0.2848, allocations: 337.4 kB / 437.1 MB, free: 280 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.2848, allocations: 0 / 437.1 MB, free: 280 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001015/0.2858, allocations: 0.6855 MB / 437.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.2859, allocations: 174.2 kB / 438 MB, free: 15.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007114/0.2866, allocations: 0.5168 MB / 438.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.2866, allocations: 33.7 kB / 438.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.425e-05/0.2867, allocations: 97.12 kB / 438.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.2868, allocations: 23.8 kB / 438.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.2869, allocations: 85.5 kB / 438.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.2871, allocations: 334.8 kB / 439 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.2873, allocations: 174.8 kB / 439.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.2875, allocations: 192.5 kB / 439.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/0.2879, allocations: 346.3 kB / 439.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2879, allocations: 3.938 kB / 439.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006472/0.2885, allocations: 495.2 kB / 440.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.2886, allocations: 126.8 kB / 440.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2886, allocations: 0 / 440.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.2886, allocations: 0 / 440.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.136e-05/0.2887, allocations: 4.031 kB / 440.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.2887, allocations: 4 kB / 440.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.2888, allocations: 15.89 kB / 440.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.827e-05/0.2889, allocations: 43.98 kB / 440.4 MB, free: 12.62 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.0003774/0.2892, allocations: 362.2 kB / 440.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.279e-05/0.2893, allocations: 39.77 kB / 440.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.2894, allocations: 71.08 kB / 440.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2894, allocations: 0 / 440.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2894, allocations: 0 / 440.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2894, allocations: 4 kB / 440.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.2906, allocations: 0.8855 MB / 441.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2906, allocations: 3.938 kB / 441.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.045e-06/0.2906, allocations: 3.938 kB / 441.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2906, allocations: 0 / 441.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.995e-05/0.2907, allocations: 11.98 kB / 441.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2907, allocations: 0 / 441.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2907, allocations: 7.938 kB / 441.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007491/0.2914, allocations: 0.6414 MB / 442.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003967/0.2918, allocations: 201.6 kB / 442.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.39e-05/0.2919, allocations: 8 kB / 442.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.292, allocations: 19.98 kB / 442.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.2921, allocations: 27.92 kB / 442.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-05/0.2922, allocations: 43.92 kB / 442.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004972/0.2927, allocations: 386.9 kB / 443.1 MB, free: 9.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2927, allocations: 0 / 443.1 MB, free: 9.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002903/0.293, allocations: 44 kB / 443.1 MB, free: 9.691 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.001145/0.2941, allocations: 1.212 MB / 444.4 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006788/0.2948, allocations: 0.6046 MB / 445 MB, free: 7.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2948, allocations: 4.062 kB / 445 MB, free: 7.699 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004161/0.2952, allocations: 424.4 kB / 445.4 MB, free: 7.211 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006679/0.2959, allocations: 125.7 kB / 445.5 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004241/0.3001, allocations: 3.34 MB / 448.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.3004, allocations: 190.3 kB / 449 MB, free: 3.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.347e-05/0.3005, allocations: 12.66 kB / 449 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.189e-05/0.3005, allocations: 43.34 kB / 449.1 MB, free: 3.266 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3005, allocations: 0 / 449.1 MB, free: 3.266 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03723/0.3378, allocations: 6.804 MB / 455.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.28, allocations: 3.938 kB / 455.9 MB, free: 12.64 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 & python3 -m fmpy simulate --output-file Modelica_4.1.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_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.csv","/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] "Error: Could not read variable bUF3S.y in file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S_res.csv. Warning: Get data of variable bUF3S.y from file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.834067721007159]