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.001729/0.001729, allocations: 110 kB / 17.06 MB, free: 6.113 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.001941/0.001941, allocations: 197.4 kB / 18 MB, free: 5.191 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.484/1.484, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 47.92 kB / 350.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2605, allocations: 49.44 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002977/0.2635, allocations: 1.601 MB / 401.8 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.2645, allocations: 0.5456 MB / 402.4 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.972e-05/0.2646, allocations: 0 / 402.4 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002424/0.2649, allocations: 15.86 kB / 402.4 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.974e-05/0.265, allocations: 11.88 kB / 402.4 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.2653, allocations: 63.8 kB / 402.5 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.2654, allocations: 63.78 kB / 402.5 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.2655, allocations: 15.98 kB / 402.6 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.704e-05/0.2656, allocations: 39.84 kB / 402.6 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.2658, allocations: 31.84 kB / 402.6 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.2658, allocations: 4 kB / 402.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.6e-05/0.2658, allocations: 4 kB / 402.6 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.681e-05/0.2659, allocations: 19.92 kB / 402.7 MB, free: 6.383 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.022e-05/0.2659, allocations: 31.8 kB / 402.7 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.2661, allocations: 70.61 kB / 402.8 MB, free: 6.285 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2661, allocations: 0 / 402.8 MB, free: 6.285 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2661, allocations: 4 kB / 402.8 MB, free: 6.281 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.2661, allocations: 0 / 402.8 MB, free: 6.281 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.0005236/0.2667, allocations: 399 kB / 403.2 MB, free: 5.844 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.2667, allocations: 8.031 kB / 403.2 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.994e-05/0.2668, allocations: 38.75 kB / 403.2 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.2668, allocations: 16.84 kB / 403.2 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.2671, allocations: 194.3 kB / 403.4 MB, free: 5.547 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.2671, allocations: 8.375 kB / 403.4 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.2671, allocations: 15.86 kB / 403.4 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/0.2675, allocations: 153.8 kB / 403.6 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2675, allocations: 0 / 403.6 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.2675, allocations: 0 / 403.6 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.2675, allocations: 0 / 403.6 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.2676, allocations: 47.84 kB / 403.6 MB, free: 5.305 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.268, allocations: 274.5 kB / 403.9 MB, free: 4.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.2681, allocations: 87.84 kB / 404 MB, free: 4.867 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.687e-05/0.2682, allocations: 42.56 kB / 404 MB, free: 4.816 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.2683, allocations: 7.984 kB / 404 MB, free: 4.809 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.2683, allocations: 34.56 kB / 404.1 MB, free: 4.766 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.2683, allocations: 0 / 404.1 MB, free: 4.766 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.000313/0.2686, allocations: 113.5 kB / 404.2 MB, free: 4.648 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.801e-05/0.2687, allocations: 114.7 kB / 404.3 MB, free: 4.512 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.2689, allocations: 148.2 kB / 404.4 MB, free: 4.359 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.2689, allocations: 25.7 kB / 404.5 MB, free: 4.328 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.616e-05/0.269, allocations: 100.1 kB / 404.6 MB, free: 4.227 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.269, allocations: 3.953 kB / 404.6 MB, free: 4.223 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.269, allocations: 33.95 kB / 404.6 MB, free: 4.184 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.2692, allocations: 310.8 kB / 404.9 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.792e-05/0.2693, allocations: 19.98 kB / 404.9 MB, free: 3.852 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.755e-05/0.2694, allocations: 58 kB / 405 MB, free: 3.773 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.2695, allocations: 89.86 kB / 405.1 MB, free: 3.664 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2695, allocations: 0 / 405.1 MB, free: 3.664 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001943/0.2697, allocations: 105.5 kB / 405.2 MB, free: 3.555 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.2697, allocations: 4 kB / 405.2 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.2697, allocations: 4 kB / 405.2 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.2698, allocations: 0 / 405.2 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.668e-05/0.2699, allocations: 19.92 kB / 405.2 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.2699, allocations: 4 kB / 405.2 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.418e-05/0.2699, allocations: 12.11 kB / 405.2 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.27, allocations: 8 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 0.0001189/0.2701, allocations: 121.8 kB / 405.3 MB, free: 3.375 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.2702, allocations: 69.58 kB / 405.4 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.328e-05/0.2703, allocations: 20.3 kB / 405.4 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.2703, allocations: 0 / 405.4 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.2703, allocations: 4.312 kB / 405.4 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.2703, allocations: 3.938 kB / 405.4 MB, free: 3.27 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.2705, allocations: 177.6 kB / 405.6 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2705, allocations: 0 / 405.6 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.589e-05/0.2706, allocations: 16.03 kB / 405.6 MB, free: 3.031 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2706, allocations: 3.938 kB / 405.6 MB, free: 3.027 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.2706, allocations: 4.172 kB / 405.6 MB, free: 3.023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.2706, allocations: 7.938 kB / 405.6 MB, free: 3.016 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.2706, allocations: 3.938 kB / 405.6 MB, free: 3.012 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.2709, allocations: 197.1 kB / 405.8 MB, free: 2.797 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.329e-05/0.271, allocations: 96.98 kB / 405.9 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.271, allocations: 4 kB / 405.9 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.2711, allocations: 3.984 kB / 405.9 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.2711, allocations: 11.94 kB / 405.9 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.2711, allocations: 3.984 kB / 405.9 MB, free: 2.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.052e-05/0.2712, allocations: 111.2 kB / 406.1 MB, free: 2.551 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2712, allocations: 0 / 406.1 MB, free: 2.551 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.2715, allocations: 8 kB / 406.1 MB, free: 2.543 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.0006776/0.2722, allocations: 0.7805 MB / 406.8 MB, free: 1.73 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001954/0.2724, allocations: 63.97 kB / 406.9 MB, free: 1.668 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2724, allocations: 0 / 406.9 MB, free: 1.668 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.595e-05/0.2724, allocations: 4 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.0003687/0.2728, allocations: 39.95 kB / 406.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.2745, allocations: 1.548 MB / 408.5 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.2749, allocations: 0.7041 MB / 409.2 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.82e-05/0.2749, allocations: 4.672 kB / 409.2 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.805e-05/0.275, allocations: 27.42 kB / 409.2 MB, free: 15.19 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.275, allocations: 0 / 409.2 MB, free: 15.19 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.2975, allocations: 2.058 MB / 411.3 MB, free: 13.28 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.729/8.027, allocations: 0.625 kB / 411.3 MB, free: 13.28 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