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.00125/0.00125, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001407/0.001407, allocations: 219.7 kB / 23.73 MB, free: 4.16 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.493/1.493, allocations: 230.6 MB / 257.5 MB, free: 7.824 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.001524/0.001524, allocations: 47.92 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2694, allocations: 53.35 MB / 431.1 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003312/0.2727, allocations: 1.631 MB / 432.7 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.2739, allocations: 0.5648 MB / 433.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.551e-05/0.274, allocations: 11.94 kB / 433.3 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.2742, allocations: 15.86 kB / 433.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.435e-05/0.2743, allocations: 11.92 kB / 433.3 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.2746, allocations: 75.73 kB / 433.4 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.2748, allocations: 71.77 kB / 433.5 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.883e-05/0.2749, allocations: 11.98 kB / 433.5 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.275, allocations: 35.86 kB / 433.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.2751, allocations: 35.83 kB / 433.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.2751, allocations: 7.938 kB / 433.5 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.491e-05/0.2752, allocations: 8 kB / 433.6 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.167e-05/0.2752, allocations: 19.92 kB / 433.6 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.097e-05/0.2753, allocations: 23.88 kB / 433.6 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.2754, allocations: 81.33 kB / 433.7 MB, free: 4.047 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2755, allocations: 3.938 kB / 433.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2755, allocations: 0 / 433.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.2755, 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.0004825/0.2759, allocations: 316.8 kB / 434 MB, free: 3.707 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.276, allocations: 8.031 kB / 434 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.045e-05/0.276, allocations: 34.75 kB / 434 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.2762, allocations: 28.83 kB / 434.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.2765, allocations: 154 kB / 434.2 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.2765, allocations: 4.375 kB / 434.2 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.2765, allocations: 7.938 kB / 434.2 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.2768, allocations: 157.7 kB / 434.4 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.2768, allocations: 0 / 434.4 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.2769, allocations: 0 / 434.4 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.2769, allocations: 4 kB / 434.4 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.277, allocations: 27.98 kB / 434.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003614/0.2773, allocations: 249.6 kB / 434.7 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.2775, allocations: 83.7 kB / 434.7 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.883e-05/0.2776, allocations: 42.75 kB / 434.8 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.2776, allocations: 4 kB / 434.8 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.2776, allocations: 34.55 kB / 434.8 MB, free: 2.738 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.2776, allocations: 0 / 434.8 MB, free: 2.738 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003247/0.278, allocations: 113.5 kB / 434.9 MB, free: 2.621 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.2781, allocations: 114.8 kB / 435 MB, free: 2.484 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.2782, allocations: 150.4 kB / 435.2 MB, free: 2.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.2782, allocations: 29.7 kB / 435.2 MB, free: 2.285 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.732e-05/0.2783, allocations: 84.14 kB / 435.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.2783, allocations: 15.94 kB / 435.3 MB, free: 2.184 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.2784, allocations: 21.72 kB / 435.3 MB, free: 2.156 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.2785, allocations: 318.8 kB / 435.6 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.768e-05/0.2786, allocations: 24.23 kB / 435.7 MB, free: 1.812 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.789e-05/0.2787, allocations: 65.94 kB / 435.7 MB, free: 1.727 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.2788, allocations: 77.94 kB / 435.8 MB, free: 1.629 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2788, allocations: 0 / 435.8 MB, free: 1.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001947/0.279, allocations: 109.4 kB / 435.9 MB, free: 1.516 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.279, allocations: 8 kB / 435.9 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.279, allocations: 448 / 435.9 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.2791, allocations: 4 kB / 435.9 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.909e-05/0.2792, allocations: 31.86 kB / 436 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/0.2792, allocations: 0 / 436 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.412e-05/0.2792, allocations: 8.156 kB / 436 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.2792, allocations: 8 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.0001415/0.2794, allocations: 137.7 kB / 436.1 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.2795, allocations: 69.59 kB / 436.2 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.957e-05/0.2795, allocations: 12.41 kB / 436.2 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.2795, allocations: 0 / 436.2 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2796, allocations: 4 kB / 436.2 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.2796, allocations: 7.922 kB / 436.2 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.2797, allocations: 136.8 kB / 436.3 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2798, allocations: 3.938 kB / 436.3 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.407e-05/0.2798, allocations: 16.02 kB / 436.3 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.2798, allocations: 4 kB / 436.4 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.2798, allocations: 4 kB / 436.4 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.2798, allocations: 4 kB / 436.4 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2798, allocations: 0 / 436.4 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.2801, allocations: 201.1 kB / 436.6 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.167e-05/0.2801, allocations: 15.94 kB / 436.6 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.2802, allocations: 4 kB / 436.6 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.045e-05/0.2802, allocations: 4 kB / 436.6 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.2803, allocations: 3.938 kB / 436.6 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.2803, allocations: 11.98 kB / 436.6 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.235e-05/0.2804, allocations: 109.1 kB / 436.7 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2804, allocations: 0 / 436.7 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000238/0.2806, allocations: 12 kB / 436.7 MB, free: 0.6289 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.0006649/0.2813, allocations: 0.7648 MB / 437.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.2814, allocations: 52.34 kB / 437.5 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2814, allocations: 4.062 kB / 437.5 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.776e-05/0.2815, allocations: 7.984 kB / 437.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.2819, allocations: 48.28 kB / 437.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.2837, allocations: 1.558 MB / 439.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.918e-05/0.2838, allocations: 93.08 kB / 439.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.51e-05/0.2838, allocations: 8.375 kB / 439.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.749e-05/0.2839, allocations: 27.42 kB / 439.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2839, allocations: 0 / 439.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02847/0.3123, allocations: 2.671 MB / 441.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.32, allocations: 1.828 kB / 441.9 MB, free: 11.37 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.886498445179313]