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.0009058/0.0009058, allocations: 76.08 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008536/0.0008536, allocations: 153.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 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 0.8608/0.8608, allocations: 173.4 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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 1.423e-06/1.423e-06, allocations: 0 / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.745e-05/1.888e-05, allocations: 2.281 kB / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002225/0.002243, allocations: 1.601 MB / 320 MB, free: 4.738 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007067/0.00295, allocations: 0.518 MB / 320.6 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.726e-05/0.003027, allocations: 0 / 320.6 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000219/0.003246, allocations: 15.86 kB / 320.6 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.65e-05/0.003303, allocations: 19.86 kB / 320.6 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.003562, allocations: 67.56 kB / 320.7 MB, free: 4.113 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.003668, allocations: 63.77 kB / 320.7 MB, free: 4.051 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.336e-05/0.003762, allocations: 15.97 kB / 320.7 MB, free: 4.035 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.772e-05/0.003839, allocations: 39.95 kB / 320.8 MB, free: 3.996 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.065e-05/0.00392, allocations: 27.91 kB / 320.8 MB, free: 3.969 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.003942, allocations: 4 kB / 320.8 MB, free: 3.965 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.848e-06/0.003952, allocations: 4 kB / 320.8 MB, free: 3.961 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.78e-05/0.00401, allocations: 15.94 kB / 320.8 MB, free: 3.945 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.836e-05/0.004038, allocations: 23.91 kB / 320.9 MB, free: 3.922 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.004169, allocations: 67.72 kB / 320.9 MB, free: 3.855 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004171, allocations: 0 / 320.9 MB, free: 3.855 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.004172, allocations: 0 / 320.9 MB, free: 3.855 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.004176, allocations: 0 / 320.9 MB, free: 3.855 MB / 282.7 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.0003839/0.00456, allocations: 321.9 kB / 321.2 MB, free: 3.512 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.004596, allocations: 8.922 kB / 321.2 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.954e-05/0.004625, allocations: 38.75 kB / 321.3 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.348e-05/0.004649, allocations: 12.89 kB / 321.3 MB, free: 3.445 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.004823, allocations: 142.2 kB / 321.4 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.004842, allocations: 4.375 kB / 321.4 MB, free: 3.277 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.004853, allocations: 4.375 kB / 321.4 MB, free: 3.273 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.005102, allocations: 162 kB / 321.6 MB, free: 3.094 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.005109, allocations: 0 / 321.6 MB, free: 3.094 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.005118, allocations: 0 / 321.6 MB, free: 3.094 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.005124, allocations: 4 kB / 321.6 MB, free: 3.09 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.639e-05/0.00519, allocations: 31.92 kB / 321.6 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00026/0.00545, allocations: 245.6 kB / 321.9 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.094e-05/0.005541, allocations: 79.72 kB / 322 MB, free: 2.664 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.928e-05/0.00559, allocations: 42.69 kB / 322 MB, free: 2.613 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.005613, allocations: 11.98 kB / 322 MB, free: 2.602 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.005633, allocations: 38.5 kB / 322 MB, free: 2.555 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 7.52e-07/0.005634, allocations: 0 / 322 MB, free: 2.555 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002002/0.005834, allocations: 105.5 kB / 322.1 MB, free: 2.445 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.005888, allocations: 110.8 kB / 322.3 MB, free: 2.312 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.162e-05/0.00597, allocations: 144.8 kB / 322.4 MB, free: 2.164 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.005981, allocations: 33.7 kB / 322.4 MB, free: 2.125 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.609e-05/0.006017, allocations: 88.08 kB / 322.5 MB, free: 2.035 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.006033, allocations: 12.2 kB / 322.5 MB, free: 2.023 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.006061, allocations: 21.7 kB / 322.5 MB, free: 1.996 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.293e-05/0.006134, allocations: 318.8 kB / 322.9 MB, free: 1.676 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.626e-05/0.00616, allocations: 15.98 kB / 322.9 MB, free: 1.66 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.045e-05/0.00619, allocations: 38.56 kB / 322.9 MB, free: 1.613 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.735e-05/0.006248, allocations: 46.5 kB / 323 MB, free: 1.559 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.00625, allocations: 0 / 323 MB, free: 1.559 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.425e-05/0.006334, allocations: 81.56 kB / 323 MB, free: 1.473 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.006347, allocations: 8 kB / 323 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.006351, allocations: 0 / 323 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.006363, allocations: 0 / 323 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.789e-05/0.00642, allocations: 8 kB / 323.1 MB, free: 1.457 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.006426, allocations: 3.984 kB / 323.1 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.093e-05/0.006447, allocations: 4 kB / 323.1 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.006451, allocations: 0 / 323.1 MB, free: 1.449 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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 7.572e-05/0.006527, allocations: 129.8 kB / 323.2 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.812e-05/0.006595, allocations: 85.94 kB / 323.3 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.006622, allocations: 16.47 kB / 323.3 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.006624, allocations: 0 / 323.3 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.006629, allocations: 0 / 323.3 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.006632, allocations: 0 / 323.3 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.006746, allocations: 148.7 kB / 323.4 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.006747, allocations: 0 / 323.4 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.318e-05/0.00678, allocations: 11.98 kB / 323.4 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.006783, allocations: 4 kB / 323.4 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.00679, allocations: 0 / 323.4 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.006791, allocations: 4.031 kB / 323.5 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.006792, allocations: 3.938 kB / 323.5 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.00691, allocations: 201.1 kB / 323.7 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.075e-05/0.00694, allocations: 15.94 kB / 323.7 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.006955, allocations: 7.984 kB / 323.7 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.444e-05/0.006989, allocations: 4 kB / 323.7 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-05/0.007014, allocations: 0 / 323.7 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.007018, allocations: 7.938 kB / 323.7 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.912e-05/0.007067, allocations: 118.2 kB / 323.8 MB, free: 0.625 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.007067, allocations: 4 kB / 323.8 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001594/0.007227, allocations: 8 kB / 323.8 MB, free: 0.6133 MB / 282.7 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.0003566/0.007583, allocations: 0.7648 MB / 324.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.874e-05/0.007682, allocations: 43.91 kB / 324.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.007684, allocations: 0 / 324.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.816e-05/0.007702, allocations: 8 kB / 324.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.007966, allocations: 47.39 kB / 324.7 MB, free: 15.72 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00097/0.008936, allocations: 1.443 MB / 326.1 MB, free: 14.17 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.772e-05/0.008994, allocations: 87.27 kB / 326.2 MB, free: 14.06 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.72e-05/0.009021, allocations: 8.328 kB / 326.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.622e-05/0.009067, allocations: 28.5 kB / 326.2 MB, free: 14.03 MB / 298.7 MB Notification: Performance of SimCode: time 3.61e-07/0.009068, allocations: 0 / 326.2 MB, free: 14.03 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01797/0.02703, allocations: 2.732 MB / 329 MB, free: 11.43 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.828/6.855, allocations: 13.89 kB / 329 MB, free: 11.42 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins/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: 8.634546045213938]