Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.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.00177/0.00177, 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.002226/0.002226, allocations: 210.5 kB / 23.73 MB, free: 4.387 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.401/1.401, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002389/0.002389, allocations: 43.92 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2826, allocations: 53.35 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003027/0.2856, allocations: 1.619 MB / 432.7 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.2868, allocations: 0.5726 MB / 433.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.474e-05/0.2868, allocations: 7.938 kB / 433.3 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002183/0.2871, allocations: 19.86 kB / 433.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.06e-05/0.2871, allocations: 11.86 kB / 433.3 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.2874, allocations: 71.81 kB / 433.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.2876, allocations: 75.75 kB / 433.5 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.119e-05/0.2877, allocations: 11.98 kB / 433.5 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.2878, allocations: 43.78 kB / 433.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.752e-05/0.2879, allocations: 35.84 kB / 433.5 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.2879, allocations: 4 kB / 433.5 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.226e-05/0.288, allocations: 8 kB / 433.6 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.429e-05/0.2881, allocations: 19.92 kB / 433.6 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.477e-05/0.2881, allocations: 27.8 kB / 433.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.2883, allocations: 77.34 kB / 433.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2883, allocations: 0 / 433.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2883, allocations: 0 / 433.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.2883, allocations: 0 / 433.7 MB, free: 4.043 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005209/0.2888, allocations: 317.9 kB / 434 MB, free: 3.703 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.2888, allocations: 12.03 kB / 434 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.791e-05/0.2889, allocations: 34.75 kB / 434 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.289, allocations: 24.83 kB / 434.1 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.2893, allocations: 152.9 kB / 434.2 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.2893, allocations: 384 / 434.2 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.2894, allocations: 7.938 kB / 434.2 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003427/0.2897, allocations: 161.8 kB / 434.4 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2897, allocations: 0 / 434.4 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.2897, allocations: 0 / 434.4 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.2897, allocations: 3.938 kB / 434.4 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.2898, allocations: 31.98 kB / 434.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003384/0.2902, allocations: 245.6 kB / 434.6 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.2903, allocations: 79.72 kB / 434.7 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.308e-05/0.2904, allocations: 42.75 kB / 434.8 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.2904, allocations: 11.98 kB / 434.8 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.2905, allocations: 34.56 kB / 434.8 MB, free: 2.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.2905, allocations: 0 / 434.8 MB, free: 2.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003109/0.2908, allocations: 109.5 kB / 434.9 MB, free: 2.617 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.48e-05/0.2908, allocations: 110.8 kB / 435 MB, free: 2.484 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.291, allocations: 157.4 kB / 435.2 MB, free: 2.316 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.291, allocations: 25.7 kB / 435.2 MB, free: 2.285 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/0.2911, allocations: 88.39 kB / 435.3 MB, free: 2.195 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.2911, allocations: 15.94 kB / 435.3 MB, free: 2.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/0.2911, allocations: 25.72 kB / 435.3 MB, free: 2.148 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.2913, allocations: 318.8 kB / 435.6 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.582e-05/0.2914, allocations: 19.98 kB / 435.7 MB, free: 1.809 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.634e-05/0.2915, allocations: 70.19 kB / 435.7 MB, free: 1.719 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.2916, allocations: 81.94 kB / 435.8 MB, free: 1.617 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.2916, allocations: 4 kB / 435.8 MB, free: 1.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001928/0.2918, allocations: 105.4 kB / 435.9 MB, free: 1.504 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.2918, allocations: 8 kB / 435.9 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.2918, allocations: 3.984 kB / 435.9 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.2918, allocations: 4.219 kB / 435.9 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.132e-05/0.2919, allocations: 19.98 kB / 436 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.2919, allocations: 0 / 436 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.592e-05/0.292, allocations: 7.938 kB / 436 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.292, allocations: 4 kB / 436 MB, free: 1.457 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.fractionalDelay.first,fractionalDelay.first) * Number of discrete states: 0 () * Number of clocked states: 2 (fractionalDelay.first,fractionalDelay.u_buffer[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.000126/0.2921, allocations: 137.6 kB / 436.1 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.2922, allocations: 69.59 kB / 436.2 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.021e-05/0.2923, allocations: 16.41 kB / 436.2 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.2923, allocations: 7.922 kB / 436.2 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2923, allocations: 4 kB / 436.2 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.2923, allocations: 7.969 kB / 436.2 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.2925, allocations: 140.7 kB / 436.3 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2925, allocations: 0 / 436.3 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.522e-05/0.2925, allocations: 16.17 kB / 436.4 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.2925, allocations: 0 / 436.4 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.2926, allocations: 3.938 kB / 436.4 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.2926, allocations: 4 kB / 436.4 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2926, allocations: 0 / 436.4 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.2928, allocations: 201.1 kB / 436.6 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.2928, allocations: 19.94 kB / 436.6 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.2929, allocations: 4 kB / 436.6 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.962e-05/0.2929, allocations: 4 kB / 436.6 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.967e-05/0.293, allocations: 3.938 kB / 436.6 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.293, allocations: 8 kB / 436.6 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.146e-05/0.2931, allocations: 111.2 kB / 436.7 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2931, allocations: 0 / 436.7 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002368/0.2933, allocations: 8 kB / 436.7 MB, free: 0.6211 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (fractionalDelay.first) * Number of discrete states: 0 () * Number of clocked states: 2 (fractionalDelay.u_buffer[1],fractionalDelay.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0006435/0.2939, allocations: 0.7648 MB / 437.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001742/0.2941, allocations: 63.91 kB / 437.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2941, allocations: 0 / 437.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.608e-05/0.2941, allocations: 7.984 kB / 437.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.2945, allocations: 53.34 kB / 437.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.2961, allocations: 1.551 MB / 439.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.794e-05/0.2962, allocations: 88.92 kB / 439.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.392e-05/0.2963, allocations: 4.438 kB / 439.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.04e-05/0.2963, allocations: 23.42 kB / 439.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2963, allocations: 0 / 439.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03064/0.3269, allocations: 2.718 MB / 442 MB, free: 11.33 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.19, allocations: 8.062 kB / 442 MB, free: 11.32 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.7939e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,fractionalDelay.y Variables in the result:time,previous(fractionalDelay.u_buffer[1]),fractionalDelay.u,fractionalDelay.u_buffer[1],fractionalDelay.y,sample1.y [Calling sys.exit(0), Time elapsed: 13.722075867990497]