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.001387/0.001394, allocations: 111.5 kB / 16.51 MB, free: 6.715 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.001203/0.001203, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.466/1.466, allocations: 222.9 MB / 241.1 MB, free: 15.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 46.92 kB / 300.1 MB, free: 6.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09496/0.0961, allocations: 49.44 MB / 349.5 MB, free: 4.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003351/0.0995, allocations: 1.655 MB / 351.2 MB, free: 3.066 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.1006, allocations: 0.5415 MB / 351.7 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.1007, allocations: 0 / 351.7 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002282/0.101, allocations: 15.86 kB / 351.7 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.211e-05/0.1011, allocations: 15.92 kB / 351.7 MB, free: 2.488 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.1014, allocations: 51.89 kB / 351.8 MB, free: 2.438 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.1015, allocations: 59.84 kB / 351.8 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.1016, allocations: 23.97 kB / 351.9 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.869e-05/0.1017, allocations: 27.86 kB / 351.9 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.1019, allocations: 23.86 kB / 351.9 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.1019, allocations: 4 kB / 351.9 MB, free: 2.301 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.384e-05/0.1019, allocations: 0 / 351.9 MB, free: 2.301 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.446e-05/0.102, allocations: 23.91 kB / 351.9 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.5e-05/0.1021, allocations: 31.8 kB / 352 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.1022, allocations: 67.72 kB / 352 MB, free: 2.18 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1022, allocations: 3.938 kB / 352 MB, free: 2.176 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1022, allocations: 0 / 352 MB, free: 2.176 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1022, allocations: 0 / 352 MB, free: 2.176 MB / 286.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.0005572/0.1028, allocations: 391.3 kB / 352.4 MB, free: 1.746 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.1029, allocations: 8.031 kB / 352.4 MB, free: 1.738 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.844e-05/0.1029, allocations: 38.73 kB / 352.5 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/0.103, allocations: 12.84 kB / 352.5 MB, free: 1.68 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.1032, allocations: 200.6 kB / 352.7 MB, free: 1.445 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.1032, allocations: 384 / 352.7 MB, free: 1.445 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.1033, allocations: 11.94 kB / 352.7 MB, free: 1.434 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003503/0.1036, allocations: 149.8 kB / 352.8 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.1036, allocations: 3.938 kB / 352.8 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.1037, allocations: 11.98 kB / 352.9 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1037, allocations: 0 / 352.9 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.1038, allocations: 31.91 kB / 352.9 MB, free: 1.219 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.1042, allocations: 286.5 kB / 353.2 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.1044, allocations: 79.72 kB / 353.2 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.885e-05/0.1045, allocations: 46.75 kB / 353.3 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.1045, allocations: 0 / 353.3 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.1045, allocations: 46.48 kB / 353.3 MB, free: 0.668 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.1045, allocations: 0 / 353.3 MB, free: 0.668 MB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003462/0.1049, allocations: 109.7 kB / 353.4 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.13e-05/0.105, allocations: 110.8 kB / 353.6 MB, free: 432 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.1052, allocations: 151.8 kB / 353.7 MB, free: 272 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.1052, allocations: 29.7 kB / 353.7 MB, free: 236 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.371e-05/0.1052, allocations: 84.14 kB / 353.8 MB, free: 148 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.1053, allocations: 11.91 kB / 353.8 MB, free: 136 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.045e-05/0.1053, allocations: 21.7 kB / 353.8 MB, free: 108 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.1055, allocations: 318.8 kB / 354.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.283e-05/0.1056, allocations: 19.98 kB / 354.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.24e-05/0.1056, allocations: 62 kB / 354.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.1058, allocations: 85.86 kB / 354.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.1058, allocations: 0 / 354.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001926/0.106, allocations: 105.5 kB / 354.4 MB, free: 15.47 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.106, allocations: 11.98 kB / 354.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.106, allocations: 192 / 354.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1061, allocations: 4 kB / 354.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.655e-05/0.1062, allocations: 19.88 kB / 354.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1062, allocations: 0 / 354.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.985e-05/0.1062, allocations: 11.92 kB / 354.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.1063, allocations: 4 kB / 354.5 MB, free: 15.42 MB / 302.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.0001457/0.1064, allocations: 130 kB / 354.6 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.1065, allocations: 73.44 kB / 354.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.804e-05/0.1066, allocations: 16.3 kB / 354.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1066, allocations: 0 / 354.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1066, allocations: 0 / 354.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.1066, allocations: 7.938 kB / 354.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.1068, allocations: 181.6 kB / 354.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1068, allocations: 0 / 354.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.628e-05/0.1069, allocations: 11.98 kB / 354.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.1069, allocations: 4 kB / 354.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.1069, allocations: 4.031 kB / 354.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.1069, allocations: 0 / 354.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.1069, allocations: 320 / 354.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/0.1071, allocations: 197 kB / 355.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.467e-05/0.1072, allocations: 101 kB / 355.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.1072, allocations: 7.984 kB / 355.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.358e-05/0.1073, allocations: 4 kB / 355.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.1074, allocations: 3.938 kB / 355.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.1074, allocations: 4 kB / 355.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.246e-05/0.1075, allocations: 108.4 kB / 355.3 MB, free: 14.47 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1075, allocations: 0 / 355.3 MB, free: 14.47 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.1077, allocations: 16 kB / 355.3 MB, free: 14.46 MB / 302.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.0006311/0.1083, allocations: 0.7647 MB / 356.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000167/0.1085, allocations: 51.91 kB / 356.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.1085, allocations: 0.5 kB / 356.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.685e-05/0.1086, allocations: 15.94 kB / 356.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.109, allocations: 47.92 kB / 356.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.1106, allocations: 1.574 MB / 357.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.1109, allocations: 0.6965 MB / 358.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.912e-05/0.1109, allocations: 12.66 kB / 358.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.338e-05/0.111, allocations: 23.44 kB / 358.5 MB, free: 11.08 MB / 302.1 MB Notification: Performance of SimCode: time 3.8e-07/0.111, allocations: 0 / 358.5 MB, free: 11.08 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01188/0.1229, allocations: 1.861 MB / 360.4 MB, free: 9.371 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002512/0.1232, allocations: 224.7 kB / 360.6 MB, free: 9.113 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.095/2.218, allocations: 3.875 kB / 360.6 MB, free: 9.113 MB / 302.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