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.001837/0.001837, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 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.002327/0.002327, allocations: 187.7 kB / 23.7 MB, free: 4.191 MB / 14.72 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 1.463/1.463, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001684/0.001684, allocations: 47.92 kB / 370.4 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2792, allocations: 52.18 MB / 422.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003307/0.2825, allocations: 1.614 MB / 424.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.2837, allocations: 0.5026 MB / 424.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.2838, allocations: 3.938 kB / 424.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002816/0.2841, allocations: 19.86 kB / 424.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.2842, allocations: 15.86 kB / 424.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.2845, allocations: 59.81 kB / 424.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.2847, allocations: 67.77 kB / 424.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.2848, allocations: 11.98 kB / 424.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.2849, allocations: 31.92 kB / 424.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.2851, allocations: 35.83 kB / 424.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.2851, allocations: 4 kB / 424.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.578e-05/0.2851, allocations: 4 kB / 424.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.526e-05/0.2852, allocations: 19.92 kB / 425 MB, free: 12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.592e-05/0.2852, allocations: 23.81 kB / 425 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.2854, allocations: 77.28 kB / 425.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2854, allocations: 0 / 425.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2854, allocations: 0 / 425.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.2854, allocations: 0 / 425.1 MB, free: 11.9 MB / 334.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.0005237/0.2859, allocations: 313.9 kB / 425.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.286, allocations: 12.03 kB / 425.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.784e-05/0.286, allocations: 38.75 kB / 425.4 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.286, allocations: 8.891 kB / 425.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.2863, allocations: 150.8 kB / 425.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.2864, allocations: 4.375 kB / 425.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.2864, allocations: 7.938 kB / 425.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003482/0.2867, allocations: 149.8 kB / 425.7 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2867, allocations: 0 / 425.7 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.2867, allocations: 4 kB / 425.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.2867, allocations: 7.922 kB / 425.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.2868, allocations: 27.92 kB / 425.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.2872, allocations: 249.7 kB / 426 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.2874, allocations: 75.84 kB / 426.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.89e-05/0.2875, allocations: 42.62 kB / 426.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.2875, allocations: 3.938 kB / 426.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.2875, allocations: 46.55 kB / 426.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.2875, allocations: 0 / 426.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003293/0.2878, allocations: 109.5 kB / 426.3 MB, free: 10.49 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.627e-05/0.2879, allocations: 114.8 kB / 426.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.2881, allocations: 149.3 kB / 426.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.2881, allocations: 25.7 kB / 426.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.991e-05/0.2882, allocations: 96.12 kB / 426.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.2882, allocations: 12.08 kB / 426.7 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/0.2883, allocations: 33.7 kB / 426.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.2884, allocations: 318.8 kB / 427 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.564e-05/0.2885, allocations: 15.98 kB / 427 MB, free: 9.688 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.286e-05/0.2886, allocations: 58 kB / 427.1 MB, free: 9.609 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.2887, allocations: 89.86 kB / 427.2 MB, free: 9.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2887, allocations: 0 / 427.2 MB, free: 9.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001959/0.2889, allocations: 101.5 kB / 427.3 MB, free: 9.395 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.2889, allocations: 4 kB / 427.3 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.2889, allocations: 0 / 427.3 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.624e-05/0.289, allocations: 7.984 kB / 427.3 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.2891, allocations: 20.14 kB / 427.3 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.2891, allocations: 8 kB / 427.3 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.005e-05/0.2892, allocations: 15.88 kB / 427.3 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.2892, allocations: 7.984 kB / 427.3 MB, free: 9.332 MB / 334.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.0001187/0.2893, allocations: 117.8 kB / 427.5 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.2894, allocations: 73.58 kB / 427.5 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.2895, allocations: 16.39 kB / 427.5 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2895, allocations: 0 / 427.5 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.2895, allocations: 4 kB / 427.5 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2895, allocations: 3.938 kB / 427.6 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.2897, allocations: 144.8 kB / 427.7 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.2897, allocations: 0 / 427.7 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.522e-05/0.2898, allocations: 12.19 kB / 427.7 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2898, allocations: 0 / 427.7 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.2898, allocations: 7.922 kB / 427.7 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.2898, allocations: 8.25 kB / 427.7 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2898, allocations: 0 / 427.7 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003095/0.2901, allocations: 201.2 kB / 427.9 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.205e-05/0.2901, allocations: 23.88 kB / 427.9 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.2902, allocations: 0 / 427.9 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.125e-05/0.2902, allocations: 11.98 kB / 428 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/0.2903, allocations: 3.938 kB / 428 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.2903, allocations: 8 kB / 428 MB, free: 8.625 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.555e-05/0.2904, allocations: 111.2 kB / 428.1 MB, free: 8.516 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2904, allocations: 0 / 428.1 MB, free: 8.516 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.2906, allocations: 15.89 kB / 428.1 MB, free: 8.5 MB / 334.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.2913, allocations: 0.7532 MB / 428.8 MB, free: 7.715 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001798/0.2915, allocations: 67.91 kB / 428.9 MB, free: 7.648 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2915, allocations: 0 / 428.9 MB, free: 7.648 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.557e-05/0.2915, allocations: 11.98 kB / 428.9 MB, free: 7.637 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.2919, allocations: 35.95 kB / 429 MB, free: 7.602 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.2937, allocations: 1.551 MB / 430.5 MB, free: 5.926 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.824e-05/0.2938, allocations: 91.31 kB / 430.6 MB, free: 5.816 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.722e-05/0.2938, allocations: 0.6719 kB / 430.6 MB, free: 5.816 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.886e-05/0.2939, allocations: 23.42 kB / 430.6 MB, free: 5.793 MB / 334.1 MB Notification: Performance of SimCode: time 7.72e-07/0.2939, allocations: 4 kB / 430.6 MB, free: 5.789 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02773/0.3216, allocations: 2.641 MB / 433.3 MB, free: 3.297 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.19, allocations: 11.38 kB / 433.3 MB, free: 3.289 MB / 334.1 MB " [Timeout remaining time 649] (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/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) [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: 13.751728411763906]