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.001264/0.001264, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001381/0.001381, allocations: 213.8 kB / 23.74 MB, free: 4.656 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.446/1.446, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.001541/0.001541, allocations: 47.92 kB / 377.8 MB, free: 3.238 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2758, allocations: 53.37 MB / 431.1 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.00283/0.2787, allocations: 1.545 MB / 432.7 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.2806, allocations: 0.8887 MB / 433.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.98e-05/0.2807, allocations: 0 / 433.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.815e-05/0.2808, allocations: 15.86 kB / 433.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.34e-05/0.2809, allocations: 23.84 kB / 433.6 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.2811, allocations: 47.89 kB / 433.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.2814, allocations: 139.7 kB / 433.8 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.521e-05/0.2814, allocations: 15.98 kB / 433.8 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004993/0.2819, allocations: 395.3 kB / 434.2 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.2821, allocations: 71.69 kB / 434.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.545e-05/0.2821, allocations: 8 kB / 434.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.691e-05/0.2821, allocations: 8 kB / 434.3 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.937e-05/0.2822, allocations: 71.69 kB / 434.4 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.2824, allocations: 115.2 kB / 434.5 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003757/0.2827, allocations: 354.9 kB / 434.8 MB, free: 3.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.2827, allocations: 3.938 kB / 434.8 MB, free: 3.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2827, allocations: 0 / 434.8 MB, free: 3.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.2827, allocations: 0 / 434.8 MB, free: 3.195 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.00079/0.2835, allocations: 0.6591 MB / 435.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.2836, allocations: 8.031 kB / 435.5 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.524e-05/0.2836, allocations: 42.73 kB / 435.5 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.334e-05/0.2837, allocations: 40.7 kB / 435.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.284, allocations: 208.9 kB / 435.8 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.284, allocations: 4.375 kB / 435.8 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.284, allocations: 8.375 kB / 435.8 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/0.2843, allocations: 129.7 kB / 435.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.2843, allocations: 0 / 435.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.2844, allocations: 12 kB / 435.9 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2844, allocations: 0 / 435.9 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.2845, allocations: 55.97 kB / 436 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006673/0.2852, allocations: 435.5 kB / 436.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.2853, allocations: 70.55 kB / 436.5 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.2855, allocations: 68.86 kB / 436.5 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.2855, allocations: 4 kB / 436.5 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003611/0.2858, allocations: 194.7 kB / 436.7 MB, free: 1.105 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.452e-06/0.2859, allocations: 3.938 kB / 436.7 MB, free: 1.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007855/0.2866, allocations: 467.6 kB / 437.2 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.2868, allocations: 170.2 kB / 437.4 MB, free: 424 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006783/0.2874, allocations: 0.513 MB / 437.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.2875, allocations: 25.81 kB / 437.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.13e-05/0.2875, allocations: 113 kB / 438 MB, free: 15.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.2876, allocations: 23.86 kB / 438 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.2877, allocations: 89.44 kB / 438.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.2878, allocations: 322.8 kB / 438.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.288, allocations: 55.97 kB / 438.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.2881, allocations: 69.69 kB / 438.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003512/0.2884, allocations: 343.3 kB / 438.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.2884, allocations: 0 / 438.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005223/0.289, allocations: 372.4 kB / 439.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.897e-05/0.2891, allocations: 126.8 kB / 439.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.2891, allocations: 0 / 439.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.2891, allocations: 0 / 439.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.841e-05/0.2891, allocations: 0 / 439.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.2891, allocations: 0 / 439.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.2892, allocations: 15.95 kB / 439.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-05/0.2893, allocations: 43.98 kB / 439.4 MB, free: 14.18 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.0003639/0.2897, allocations: 362.3 kB / 439.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.611e-05/0.2897, allocations: 39.75 kB / 439.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.2898, allocations: 67.08 kB / 439.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2898, allocations: 4 kB / 439.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2898, allocations: 0 / 439.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2898, allocations: 0 / 439.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000961/0.2908, allocations: 0.785 MB / 440.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2908, allocations: 0 / 440.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.358e-06/0.2908, allocations: 4 kB / 440.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2908, allocations: 0 / 440.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/0.2908, allocations: 15.98 kB / 440.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2908, allocations: 0 / 440.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2908, allocations: 3.938 kB / 440.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006417/0.2915, allocations: 0.5321 MB / 441.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003646/0.2918, allocations: 197.4 kB / 441.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.149e-05/0.2919, allocations: 12 kB / 441.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.292, allocations: 15.98 kB / 441.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.838e-05/0.2921, allocations: 27.92 kB / 441.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-05/0.2922, allocations: 43.92 kB / 441.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004704/0.2926, allocations: 386.9 kB / 441.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2926, allocations: 0 / 441.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.2929, allocations: 43.94 kB / 441.9 MB, free: 11.52 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.001015/0.2939, allocations: 1.09 MB / 443 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004835/0.2944, allocations: 369.5 kB / 443.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.2944, allocations: 0 / 443.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002901/0.2947, allocations: 309.5 kB / 443.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005891/0.2953, allocations: 136.1 kB / 443.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003377/0.2986, allocations: 2.735 MB / 446.6 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/0.2991, allocations: 0.795 MB / 447.4 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.25e-05/0.2992, allocations: 8.656 kB / 447.4 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.067e-05/0.2992, allocations: 31.42 kB / 447.4 MB, free: 5.797 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2992, allocations: 0 / 447.4 MB, free: 5.797 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0316/0.3308, allocations: 5.962 MB / 453.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.18, allocations: 3.516 kB / 453.4 MB, free: 15.98 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.758670809998875]