Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.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.001771/0.001771, allocations: 109.5 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.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.002076/0.002076, allocations: 189.8 kB / 23.72 MB, free: 4.684 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.496/1.496, 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.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 47.92 kB / 370.4 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3067, allocations: 52.2 MB / 422.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003267/0.3099, allocations: 1.626 MB / 424.3 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.3112, allocations: 0.5493 MB / 424.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.3113, allocations: 3.938 kB / 424.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000266/0.3116, allocations: 19.86 kB / 424.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.053e-05/0.3117, allocations: 11.88 kB / 424.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.312, allocations: 59.81 kB / 424.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.3122, allocations: 71.77 kB / 425 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.3123, allocations: 11.98 kB / 425 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.3124, allocations: 31.91 kB / 425 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.3125, allocations: 31.84 kB / 425.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.3126, allocations: 4 kB / 425.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.548e-05/0.3126, allocations: 7.938 kB / 425.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.846e-05/0.3127, allocations: 19.98 kB / 425.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.402e-05/0.3127, allocations: 35.75 kB / 425.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.3129, allocations: 72.02 kB / 425.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.3129, allocations: 0 / 425.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3129, allocations: 0 / 425.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.525e-06/0.3129, allocations: 0 / 425.2 MB, free: 12.07 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.0006046/0.3135, allocations: 317.9 kB / 425.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.3136, allocations: 8.031 kB / 425.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.754e-05/0.3136, allocations: 38.75 kB / 425.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.3137, allocations: 12.84 kB / 425.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.314, allocations: 142.9 kB / 425.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.314, allocations: 8.375 kB / 425.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.3141, allocations: 7.938 kB / 425.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003903/0.3144, allocations: 161.7 kB / 425.9 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3145, allocations: 0 / 425.9 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.3145, allocations: 3.984 kB / 425.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.3145, allocations: 0 / 425.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.3146, allocations: 31.92 kB / 425.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004293/0.315, allocations: 257.6 kB / 426.2 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.3152, allocations: 75.72 kB / 426.2 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.3153, allocations: 46.73 kB / 426.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.588e-05/0.3154, allocations: 3.938 kB / 426.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.3154, allocations: 38.56 kB / 426.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.3154, allocations: 0 / 426.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003908/0.3158, allocations: 109.5 kB / 426.4 MB, free: 10.65 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.3159, allocations: 110.8 kB / 426.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.3161, allocations: 152.9 kB / 426.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.3161, allocations: 37.95 kB / 426.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.375e-05/0.3162, allocations: 84.14 kB / 426.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.3162, allocations: 23.86 kB / 426.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.951e-05/0.3163, allocations: 17.72 kB / 426.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.3164, allocations: 322.8 kB / 427.2 MB, free: 9.863 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.715e-05/0.3165, allocations: 15.98 kB / 427.2 MB, free: 9.848 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.31e-05/0.3166, allocations: 62 kB / 427.2 MB, free: 9.766 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.3167, allocations: 85.88 kB / 427.3 MB, free: 9.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3167, allocations: 256 / 427.3 MB, free: 9.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001859/0.3169, allocations: 101.5 kB / 427.4 MB, free: 9.555 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.3169, allocations: 8 kB / 427.4 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.317, allocations: 4 kB / 427.4 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.317, allocations: 4.219 kB / 427.4 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.3171, allocations: 27.92 kB / 427.5 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.3171, allocations: 192 / 427.5 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.806e-05/0.3171, allocations: 11.89 kB / 427.5 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.3172, allocations: 7.938 kB / 427.5 MB, free: 9.492 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.0001221/0.3173, allocations: 121.8 kB / 427.6 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.3174, allocations: 73.58 kB / 427.7 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.999e-05/0.3174, allocations: 12.41 kB / 427.7 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3174, allocations: 0 / 427.7 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3174, allocations: 4.031 kB / 427.7 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.3175, allocations: 7.938 kB / 427.7 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.3176, allocations: 148.7 kB / 427.8 MB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3176, allocations: 0 / 427.8 MB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.624e-05/0.3177, allocations: 11.98 kB / 427.9 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.3177, allocations: 4 kB / 427.9 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.3177, allocations: 3.938 kB / 427.9 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3177, allocations: 0 / 427.9 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.3177, allocations: 7.938 kB / 427.9 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.318, allocations: 201.1 kB / 428.1 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.35e-05/0.318, allocations: 15.89 kB / 428.1 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.318, allocations: 11.98 kB / 428.1 MB, free: 8.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.946e-05/0.3181, allocations: 0 / 428.1 MB, free: 8.797 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.3181, allocations: 7.938 kB / 428.1 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.3181, allocations: 0 / 428.1 MB, free: 8.789 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001037/0.3183, allocations: 122.6 kB / 428.2 MB, free: 8.672 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3183, allocations: 0 / 428.2 MB, free: 8.672 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000242/0.3185, allocations: 8 kB / 428.2 MB, free: 8.664 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.0006989/0.3192, allocations: 0.7726 MB / 429 MB, free: 7.859 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.3194, allocations: 55.84 kB / 429.1 MB, free: 7.805 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3194, allocations: 0 / 429.1 MB, free: 7.805 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.553e-05/0.3194, allocations: 4 kB / 429.1 MB, free: 7.801 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.3198, allocations: 56.17 kB / 429.1 MB, free: 7.746 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.3216, allocations: 1.538 MB / 430.7 MB, free: 6.078 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.322, allocations: 0.7041 MB / 431.4 MB, free: 5.348 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.834e-05/0.322, allocations: 8.656 kB / 431.4 MB, free: 5.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.382e-05/0.3221, allocations: 23.44 kB / 431.4 MB, free: 5.316 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3221, allocations: 0 / 431.4 MB, free: 5.316 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02781/0.3499, allocations: 2.21 MB / 433.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.31, allocations: 13.88 kB / 433.6 MB, free: 3.238 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.920370754000032]