Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001726/0.001726, allocations: 122.5 kB / 18.51 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002061/0.002061, allocations: 215.2 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.453/1.453, allocations: 230.5 MB / 254.8 MB, free: 14.88 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 79.8 kB / 373.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09604/0.09801, allocations: 53.32 MB / 427 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.00296/0.101, allocations: 1.626 MB / 428.6 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.1021, allocations: 0.6193 MB / 429.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.625e-05/0.1022, allocations: 3.938 kB / 429.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002042/0.1024, allocations: 15.88 kB / 429.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.547e-05/0.1025, allocations: 19.84 kB / 429.3 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.1028, allocations: 67.75 kB / 429.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.1029, allocations: 75.75 kB / 429.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.222e-05/0.103, allocations: 12 kB / 429.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.1031, allocations: 39.84 kB / 429.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.579e-05/0.1032, allocations: 27.84 kB / 429.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.1033, allocations: 8 kB / 429.5 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.286e-05/0.1033, allocations: 12 kB / 429.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.038e-05/0.1034, allocations: 19.92 kB / 429.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.438e-05/0.1034, allocations: 27.8 kB / 429.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.1036, allocations: 91.45 kB / 429.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1036, allocations: 0 / 429.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1036, allocations: 0 / 429.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1036, allocations: 0 / 429.7 MB, free: 2.062 MB / 350.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.0005063/0.1041, allocations: 387 kB / 430 MB, free: 1.637 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1041, allocations: 16.03 kB / 430.1 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.08e-05/0.1042, allocations: 34.75 kB / 430.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/0.1043, allocations: 24.88 kB / 430.1 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.1046, allocations: 204.7 kB / 430.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.1046, allocations: 4.312 kB / 430.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.1046, allocations: 11.94 kB / 430.3 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003391/0.105, allocations: 149.8 kB / 430.5 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.105, allocations: 0 / 430.5 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.105, allocations: 4 kB / 430.5 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.105, allocations: 7.938 kB / 430.5 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.1051, allocations: 31.91 kB / 430.5 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003685/0.1055, allocations: 282.6 kB / 430.8 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.1056, allocations: 79.7 kB / 430.9 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.531e-05/0.1057, allocations: 46.75 kB / 430.9 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.1058, allocations: 3.938 kB / 430.9 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.1058, allocations: 34.56 kB / 431 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.183e-06/0.1058, allocations: 0 / 431 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003285/0.1061, allocations: 105.5 kB / 431.1 MB, free: 452 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.67e-05/0.1062, allocations: 123 kB / 431.2 MB, free: 304 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.1064, allocations: 144.2 kB / 431.3 MB, free: 144 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.1064, allocations: 29.7 kB / 431.4 MB, free: 108 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.513e-05/0.1065, allocations: 100.1 kB / 431.5 MB, free: 4 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1791/0.2855, allocations: 7.797 kB / 431.5 MB, free: 11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.772e-05/0.2856, allocations: 20.33 kB / 431.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.013e-05/0.2857, allocations: 320.9 kB / 431.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.954e-05/0.2858, allocations: 20.78 kB / 431.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.257e-05/0.2858, allocations: 60.48 kB / 431.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.286, allocations: 82.88 kB / 432 MB, free: 10.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.286, allocations: 0.9688 kB / 432 MB, free: 10.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002346/0.2862, allocations: 103 kB / 432.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.2862, allocations: 5.562 kB / 432.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2862, allocations: 6.219 kB / 432.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.2862, allocations: 2.172 kB / 432.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.2864, allocations: 23.08 kB / 432.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.2864, allocations: 2.344 kB / 432.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.72e-05/0.2864, allocations: 14.52 kB / 432.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.2864, allocations: 4.703 kB / 432.1 MB, free: 10.53 MB / 350.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.0001085/0.2865, allocations: 123.6 kB / 432.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.2867, allocations: 72.72 kB / 432.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.488e-05/0.2867, allocations: 17.86 kB / 432.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.2867, allocations: 4.812 kB / 432.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.2867, allocations: 5.562 kB / 432.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.2867, allocations: 1.844 kB / 432.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.2869, allocations: 171.6 kB / 432.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2869, allocations: 0.8438 kB / 432.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.291e-05/0.287, allocations: 21.48 kB / 432.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.287, allocations: 1.828 kB / 432.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.287, allocations: 1.938 kB / 432.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.287, allocations: 5.578 kB / 432.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.287, allocations: 5.031 kB / 432.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.2872, allocations: 192.5 kB / 432.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.2872, allocations: 97.59 kB / 432.8 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.2873, allocations: 2.312 kB / 432.8 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.42e-05/0.2873, allocations: 10.72 kB / 432.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.2874, allocations: 5.953 kB / 432.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.2874, allocations: 3.062 kB / 432.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.284e-05/0.2874, allocations: 112 kB / 433 MB, free: 9.863 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2874, allocations: 0 / 433 MB, free: 9.863 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.2877, allocations: 13.66 kB / 433 MB, free: 9.863 MB / 350.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.0004527/0.2882, allocations: 0.7654 MB / 433.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.2884, allocations: 62.22 kB / 433.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2884, allocations: 0.5938 kB / 433.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.68e-05/0.2884, allocations: 8.578 kB / 433.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.2888, allocations: 44.61 kB / 433.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.29, allocations: 1.551 MB / 435.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.2902, allocations: 0.699 MB / 436.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.837e-05/0.2902, allocations: 12.02 kB / 436.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.351e-05/0.2903, allocations: 24.8 kB / 436.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2903, allocations: 0 / 436.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.026/0.3163, allocations: 2.125 MB / 438.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.814/8.13, allocations: 9.797 kB / 438.3 MB, free: 6.82 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_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_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.61969894496724] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'fractionalDelay.y'] 8.196657259017229 8.209577351 8.103562157 Calling exit ...