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.001069/0.001069, allocations: 110.2 kB / 17.06 MB, free: 5.969 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.001128/0.001128, allocations: 198.8 kB / 18.01 MB, free: 5.051 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.295/1.295, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 47.92 kB / 350.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2359, allocations: 49.44 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002609/0.2386, allocations: 1.598 MB / 401.8 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008603/0.2394, allocations: 0.5408 MB / 402.4 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.765e-05/0.2395, allocations: 0 / 402.4 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.2398, allocations: 19.88 kB / 402.4 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.48e-05/0.2398, allocations: 15.86 kB / 402.4 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.2401, allocations: 59.81 kB / 402.5 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.2402, allocations: 67.77 kB / 402.5 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.819e-05/0.2403, allocations: 15.98 kB / 402.6 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.289e-05/0.2404, allocations: 39.83 kB / 402.6 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.496e-05/0.2405, allocations: 23.86 kB / 402.6 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.2405, allocations: 11.94 kB / 402.6 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.104e-05/0.2406, allocations: 4 kB / 402.6 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.048e-05/0.2406, allocations: 23.92 kB / 402.7 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.571e-05/0.2407, allocations: 31.8 kB / 402.7 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.2408, allocations: 66.69 kB / 402.8 MB, free: 6.277 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2408, allocations: 0 / 402.8 MB, free: 6.277 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2408, allocations: 0 / 402.8 MB, free: 6.277 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.2408, allocations: 0 / 402.8 MB, free: 6.277 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.0004509/0.2413, allocations: 399 kB / 403.1 MB, free: 5.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.2413, allocations: 12.03 kB / 403.2 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.855e-05/0.2414, allocations: 34.75 kB / 403.2 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.931e-05/0.2414, allocations: 12.84 kB / 403.2 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.2416, allocations: 210.2 kB / 403.4 MB, free: 5.531 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.2417, allocations: 4.375 kB / 403.4 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.2417, allocations: 7.938 kB / 403.4 MB, free: 5.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.242, allocations: 153.8 kB / 403.6 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.242, allocations: 0 / 403.6 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.242, allocations: 0 / 403.6 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.242, allocations: 7.938 kB / 403.6 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.837e-05/0.2421, allocations: 31.91 kB / 403.6 MB, free: 5.309 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002925/0.2424, allocations: 286.5 kB / 403.9 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.2426, allocations: 79.72 kB / 404 MB, free: 4.867 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.803e-05/0.2426, allocations: 42.75 kB / 404 MB, free: 4.816 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.2427, allocations: 7.984 kB / 404 MB, free: 4.809 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.2427, allocations: 34.56 kB / 404.1 MB, free: 4.766 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.2427, allocations: 0 / 404.1 MB, free: 4.766 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002837/0.243, allocations: 113.5 kB / 404.2 MB, free: 4.648 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.2431, allocations: 111 kB / 404.3 MB, free: 4.516 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.2432, allocations: 152 kB / 404.4 MB, free: 4.359 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.2432, allocations: 25.7 kB / 404.4 MB, free: 4.328 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.337e-05/0.2432, allocations: 92.08 kB / 404.5 MB, free: 4.234 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.2433, allocations: 7.953 kB / 404.5 MB, free: 4.227 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.2433, allocations: 25.7 kB / 404.6 MB, free: 4.195 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.2434, allocations: 318.8 kB / 404.9 MB, free: 3.875 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.347e-05/0.2435, allocations: 15.98 kB / 404.9 MB, free: 3.859 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.08e-05/0.2436, allocations: 69.98 kB / 405 MB, free: 3.77 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.2437, allocations: 77.88 kB / 405 MB, free: 3.672 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2437, allocations: 4 kB / 405 MB, free: 3.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001722/0.2439, allocations: 101.8 kB / 405.1 MB, free: 3.562 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.2439, allocations: 12.2 kB / 405.2 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2439, allocations: 4 kB / 405.2 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.2439, allocations: 4 kB / 405.2 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.667e-05/0.244, allocations: 15.94 kB / 405.2 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.244, allocations: 4 kB / 405.2 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.65e-05/0.2441, allocations: 16.06 kB / 405.2 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.2441, allocations: 4 kB / 405.2 MB, free: 3.504 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 9.548e-05/0.2442, allocations: 125.8 kB / 405.3 MB, free: 3.371 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.2443, allocations: 73.58 kB / 405.4 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.054e-05/0.2444, allocations: 12.3 kB / 405.4 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2444, allocations: 4 kB / 405.4 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2444, allocations: 0 / 405.4 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2444, allocations: 7.922 kB / 405.4 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.2446, allocations: 181.6 kB / 405.6 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2446, allocations: 4 kB / 405.6 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.647e-05/0.2447, allocations: 15.92 kB / 405.6 MB, free: 3.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2447, allocations: 3.938 kB / 405.6 MB, free: 3.016 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.2447, allocations: 4 kB / 405.6 MB, free: 3.012 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2447, allocations: 0 / 405.6 MB, free: 3.012 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2447, allocations: 4.031 kB / 405.6 MB, free: 3.008 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.2449, allocations: 193.1 kB / 405.8 MB, free: 2.797 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/0.245, allocations: 96.98 kB / 405.9 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.245, allocations: 7.984 kB / 405.9 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.251e-05/0.2451, allocations: 4 kB / 405.9 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/0.2451, allocations: 7.938 kB / 405.9 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.2451, allocations: 4 kB / 405.9 MB, free: 2.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.989e-05/0.2452, allocations: 117.8 kB / 406.1 MB, free: 2.547 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2452, allocations: 0 / 406.1 MB, free: 2.547 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.2455, allocations: 12 kB / 406.1 MB, free: 2.535 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.0005305/0.246, allocations: 0.7649 MB / 406.8 MB, free: 1.738 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001646/0.2462, allocations: 59.91 kB / 406.9 MB, free: 1.68 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2462, allocations: 0 / 406.9 MB, free: 1.68 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.012e-05/0.2462, allocations: 12.5 kB / 406.9 MB, free: 1.668 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.2466, allocations: 54.84 kB / 407 MB, free: 1.617 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.2481, allocations: 1.546 MB / 408.5 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.2483, allocations: 0.7002 MB / 409.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.435e-05/0.2484, 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 4.57e-05/0.2484, allocations: 23.44 kB / 409.2 MB, free: 15.18 MB / 334.1 MB Notification: Performance of SimCode: time 1.593e-06/0.2484, allocations: 0 / 409.2 MB, free: 15.18 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/0.2666, allocations: 2.06 MB / 411.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.615/7.881, 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 & 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 3.6e-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) 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) "" Variables in the reference:time,sample1.y,fractionalDelay.y Variables in the result:time,fractionalDelay.u,fractionalDelay.u_buffer[1],fractionalDelay.y,sample1.y,sine.y