Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001316/0.001316, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001417/0.001417, allocations: 213.7 kB / 23.73 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 230.5 MB / 257.4 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 67.89 kB / 377.7 MB, free: 2.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3064, allocations: 53.41 MB / 431.2 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003277/0.3097, allocations: 1.612 MB / 432.8 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.3109, allocations: 0.5648 MB / 433.3 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.199e-05/0.311, allocations: 3.938 kB / 433.3 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002403/0.3112, allocations: 23.84 kB / 433.4 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.825e-05/0.3113, allocations: 7.938 kB / 433.4 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.3117, allocations: 79.72 kB / 433.4 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.3118, allocations: 71.78 kB / 433.5 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.3119, allocations: 11.98 kB / 433.5 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.3121, allocations: 39.84 kB / 433.6 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.297e-05/0.3122, allocations: 31.84 kB / 433.6 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.3122, allocations: 0 / 433.6 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.272e-05/0.3122, allocations: 8 kB / 433.6 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.405e-05/0.3123, allocations: 23.92 kB / 433.6 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.038e-05/0.3123, allocations: 27.8 kB / 433.7 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.3125, allocations: 73.34 kB / 433.7 MB, free: 3.867 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3125, allocations: 0 / 433.7 MB, free: 3.867 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3125, allocations: 7.938 kB / 433.7 MB, free: 3.859 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.8e-06/0.3125, allocations: 3.938 kB / 433.7 MB, free: 3.855 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.0005311/0.3131, allocations: 317.9 kB / 434 MB, free: 3.516 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.3131, allocations: 15.98 kB / 434.1 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.234e-05/0.3132, allocations: 30.75 kB / 434.1 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.3133, allocations: 24.83 kB / 434.1 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/0.3136, allocations: 150.4 kB / 434.3 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.3137, allocations: 8.375 kB / 434.3 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.3137, allocations: 15.92 kB / 434.3 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003495/0.314, allocations: 149.8 kB / 434.4 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.314, allocations: 3.938 kB / 434.4 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.314, allocations: 0 / 434.4 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.314, allocations: 4 kB / 434.4 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.3142, allocations: 31.97 kB / 434.5 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.3145, allocations: 241.6 kB / 434.7 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.3147, allocations: 87.7 kB / 434.8 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.34e-05/0.3148, allocations: 46.75 kB / 434.8 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.3148, allocations: 0 / 434.8 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/0.3149, allocations: 38.56 kB / 434.9 MB, free: 2.539 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.3149, allocations: 0 / 434.9 MB, free: 2.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003193/0.3152, allocations: 113.5 kB / 435 MB, free: 2.422 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.3153, allocations: 110.8 kB / 435.1 MB, free: 2.289 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.3154, allocations: 154.6 kB / 435.2 MB, free: 2.121 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.3155, allocations: 25.7 kB / 435.3 MB, free: 2.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.3155, allocations: 92.14 kB / 435.4 MB, free: 1.996 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.3155, allocations: 7.938 kB / 435.4 MB, free: 1.988 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.3156, allocations: 21.72 kB / 435.4 MB, free: 1.961 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.3157, allocations: 322.8 kB / 435.7 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.646e-05/0.3158, allocations: 15.98 kB / 435.7 MB, free: 1.621 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.3159, allocations: 73.88 kB / 435.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.316, allocations: 77.94 kB / 435.9 MB, free: 1.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.316, allocations: 0 / 435.9 MB, free: 1.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002163/0.3163, allocations: 109.7 kB / 436 MB, free: 1.316 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.3163, allocations: 8.031 kB / 436 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.3163, allocations: 4 kB / 436 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3163, allocations: 0 / 436 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.3164, allocations: 19.92 kB / 436 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.3164, allocations: 4 kB / 436 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.713e-05/0.3165, allocations: 11.88 kB / 436 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.3165, allocations: 4 kB / 436 MB, free: 1.266 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.0001574/0.3166, allocations: 133.7 kB / 436.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.3168, allocations: 69.59 kB / 436.2 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.953e-05/0.3168, allocations: 12.44 kB / 436.2 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.3168, allocations: 4 kB / 436.2 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.3168, allocations: 0 / 436.2 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3168, allocations: 7.922 kB / 436.3 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.317, allocations: 144.8 kB / 436.4 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.317, allocations: 0 / 436.4 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.54e-05/0.3171, allocations: 15.92 kB / 436.4 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.84e-06/0.3171, allocations: 4 kB / 436.4 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.3171, allocations: 0 / 436.4 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3171, allocations: 0 / 436.4 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3171, allocations: 320 / 436.4 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.3174, allocations: 205.1 kB / 436.6 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.3174, allocations: 15.94 kB / 436.6 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.3174, allocations: 8 kB / 436.6 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.418e-05/0.3175, allocations: 7.984 kB / 436.6 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.3176, allocations: 7.875 kB / 436.7 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.3176, allocations: 7.984 kB / 436.7 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001046/0.3177, allocations: 110.8 kB / 436.8 MB, free: 456 kB / 334.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3177, allocations: 0 / 436.8 MB, free: 456 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.3179, allocations: 12 kB / 436.8 MB, free: 444 kB / 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.0007277/0.3186, allocations: 0.7688 MB / 437.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001765/0.3188, allocations: 51.91 kB / 437.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3188, allocations: 0 / 437.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.185e-05/0.3189, allocations: 11.98 kB / 437.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.3192, allocations: 55.31 kB / 437.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.321, allocations: 1.541 MB / 439.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.807e-05/0.3211, allocations: 96.86 kB / 439.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.473e-05/0.3212, allocations: 8.438 kB / 439.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.3212, allocations: 23.42 kB / 439.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3212, allocations: 3.938 kB / 439.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02996/0.3512, allocations: 2.677 MB / 442 MB, free: 11.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.21, allocations: 0 / 442 MB, free: 11.15 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.822278912179172]