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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 113.7 kB / 17.06 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 197.3 kB / 18.01 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 47.92 kB / 350.8 MB, free: 3.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3041, allocations: 49.43 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003148/0.3073, allocations: 1.61 MB / 401.9 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009856/0.3083, allocations: 0.5332 MB / 402.4 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.047e-05/0.3084, allocations: 7.938 kB / 402.4 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.3086, allocations: 23.84 kB / 402.4 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.776e-05/0.3087, allocations: 11.88 kB / 402.4 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.309, allocations: 59.81 kB / 402.5 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.3091, allocations: 67.77 kB / 402.6 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.3093, allocations: 15.98 kB / 402.6 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.481e-05/0.3094, allocations: 31.86 kB / 402.6 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.3095, allocations: 35.83 kB / 402.6 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.3095, allocations: 4 kB / 402.6 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.705e-05/0.3095, allocations: 4 kB / 402.6 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.238e-05/0.3096, allocations: 23.92 kB / 402.7 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.941e-05/0.3097, allocations: 27.81 kB / 402.7 MB, free: 6.336 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.3098, allocations: 70.61 kB / 402.8 MB, free: 6.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3098, allocations: 0 / 402.8 MB, free: 6.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3099, allocations: 0 / 402.8 MB, free: 6.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.3099, allocations: 0 / 402.8 MB, free: 6.27 MB / 318.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.0006056/0.3105, allocations: 399 kB / 403.2 MB, free: 5.832 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3105, allocations: 12.03 kB / 403.2 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.505e-05/0.3106, allocations: 34.75 kB / 403.2 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/0.3106, allocations: 12.84 kB / 403.2 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.3109, allocations: 200.8 kB / 403.4 MB, free: 5.531 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.3109, allocations: 8.375 kB / 403.4 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.311, allocations: 7.938 kB / 403.4 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003438/0.3113, allocations: 157.7 kB / 403.6 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.3113, allocations: 0 / 403.6 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.3114, allocations: 0 / 403.6 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.3114, allocations: 0 / 403.6 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.3115, allocations: 39.84 kB / 403.6 MB, free: 5.301 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/0.3119, allocations: 286.6 kB / 403.9 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.312, allocations: 75.72 kB / 404 MB, free: 4.863 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.636e-05/0.3121, allocations: 42.75 kB / 404 MB, free: 4.812 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.3122, allocations: 11.94 kB / 404 MB, free: 4.801 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.3122, allocations: 34.56 kB / 404.1 MB, free: 4.758 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.3122, allocations: 3.938 kB / 404.1 MB, free: 4.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003399/0.3126, allocations: 109.5 kB / 404.2 MB, free: 4.641 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.145e-05/0.3127, allocations: 119 kB / 404.3 MB, free: 4.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.3128, allocations: 149.3 kB / 404.4 MB, free: 4.348 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.3128, allocations: 25.7 kB / 404.5 MB, free: 4.316 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.312e-05/0.3129, allocations: 100.1 kB / 404.6 MB, free: 4.215 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.313, allocations: 3.953 kB / 404.6 MB, free: 4.211 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.313, allocations: 21.72 kB / 404.6 MB, free: 4.184 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3132, allocations: 318.8 kB / 404.9 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.96e-05/0.3132, allocations: 19.98 kB / 404.9 MB, free: 3.844 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.075e-05/0.3133, allocations: 62 kB / 405 MB, free: 3.762 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.3135, allocations: 85.86 kB / 405.1 MB, free: 3.656 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3135, allocations: 0 / 405.1 MB, free: 3.656 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001969/0.3137, allocations: 105.7 kB / 405.2 MB, free: 3.547 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3137, allocations: 8 kB / 405.2 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.3137, allocations: 4 kB / 405.2 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3137, allocations: 256 / 405.2 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.3139, allocations: 19.92 kB / 405.2 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.3139, allocations: 8 kB / 405.2 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.734e-05/0.3139, allocations: 11.89 kB / 405.2 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.314, allocations: 4 kB / 405.2 MB, free: 3.492 MB / 318.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.0001276/0.3141, allocations: 125.8 kB / 405.3 MB, free: 3.359 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.3142, allocations: 69.58 kB / 405.4 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.133e-05/0.3143, allocations: 16.3 kB / 405.4 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.3143, allocations: 4 kB / 405.4 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3143, allocations: 0 / 405.4 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3143, allocations: 3.938 kB / 405.4 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.3145, allocations: 177.6 kB / 405.6 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3145, allocations: 0 / 405.6 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.878e-05/0.3146, allocations: 12 kB / 405.6 MB, free: 3.023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3146, allocations: 3.938 kB / 405.6 MB, free: 3.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.3146, allocations: 0 / 405.6 MB, free: 3.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.16e-05/0.3146, allocations: 11.95 kB / 405.6 MB, free: 3.008 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3147, allocations: 4 kB / 405.6 MB, free: 3.004 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.3149, allocations: 197.1 kB / 405.8 MB, free: 2.789 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-05/0.315, allocations: 96.98 kB / 405.9 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.315, allocations: 4.188 kB / 405.9 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-05/0.3151, allocations: 7.984 kB / 405.9 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.3151, allocations: 11.88 kB / 405.9 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.3152, allocations: 0 / 405.9 MB, free: 2.652 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.867e-05/0.3153, allocations: 115.2 kB / 406.1 MB, free: 2.539 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3153, allocations: 0 / 406.1 MB, free: 2.539 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002398/0.3155, allocations: 8 kB / 406.1 MB, free: 2.531 MB / 318.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.0008394/0.3164, allocations: 0.7687 MB / 406.8 MB, free: 1.73 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002419/0.3166, allocations: 59.83 kB / 406.9 MB, free: 1.672 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3166, allocations: 0 / 406.9 MB, free: 1.672 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.215e-05/0.3167, allocations: 8.5 kB / 406.9 MB, free: 1.664 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.3171, allocations: 50.02 kB / 406.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.3191, allocations: 1.557 MB / 408.5 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.3195, allocations: 0.6963 MB / 409.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.663e-05/0.3196, allocations: 8.656 kB / 409.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.236e-05/0.3197, allocations: 27.42 kB / 409.2 MB, free: 15.18 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3197, allocations: 0 / 409.2 MB, free: 15.18 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02312/0.3428, allocations: 2.055 MB / 411.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/8.417, allocations: 0.625 kB / 411.3 MB, free: 13.27 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/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) Reference file matches