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.00132/0.00132, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001535/0.001535, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.365/1.365, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.001878/0.001878, allocations: 68.77 kB / 378.6 MB, free: 3.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2513, allocations: 53.36 MB / 431.9 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002825/0.2541, allocations: 1.644 MB / 433.6 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.2552, allocations: 0.6231 MB / 434.2 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.945e-05/0.2552, allocations: 0 / 434.2 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.2554, allocations: 19.81 kB / 434.2 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.065e-05/0.2555, allocations: 15.92 kB / 434.2 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.2558, allocations: 75.73 kB / 434.3 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.2559, allocations: 67.83 kB / 434.4 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.955e-05/0.256, allocations: 8 kB / 434.4 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.2562, allocations: 47.77 kB / 434.4 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.086e-05/0.2563, allocations: 31.86 kB / 434.5 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.2563, allocations: 4 kB / 434.5 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.607e-05/0.2563, allocations: 7.984 kB / 434.5 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.628e-05/0.2564, allocations: 27.91 kB / 434.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.329e-05/0.2564, allocations: 39.69 kB / 434.5 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.2566, allocations: 72.5 kB / 434.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2566, allocations: 0 / 434.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2566, allocations: 0 / 434.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.2566, allocations: 0 / 434.6 MB, free: 4.27 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.0004675/0.2571, allocations: 321.8 kB / 434.9 MB, free: 3.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2571, allocations: 8.031 kB / 434.9 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.225e-05/0.2571, allocations: 38.75 kB / 435 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.2573, allocations: 16.88 kB / 435 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.2575, allocations: 160.3 kB / 435.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.2575, allocations: 4.375 kB / 435.1 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.2575, allocations: 3.938 kB / 435.1 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.2578, allocations: 153.9 kB / 435.3 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.2579, allocations: 0 / 435.3 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.2579, allocations: 0 / 435.3 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2579, allocations: 0 / 435.3 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.258, allocations: 35.92 kB / 435.3 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.2583, allocations: 249.7 kB / 435.6 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.2584, allocations: 83.83 kB / 435.7 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.349e-05/0.2585, allocations: 46.56 kB / 435.7 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.2585, allocations: 7.984 kB / 435.7 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.2586, allocations: 34.56 kB / 435.7 MB, free: 2.953 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.073e-06/0.2586, allocations: 0 / 435.7 MB, free: 2.953 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002993/0.2589, allocations: 117.7 kB / 435.9 MB, free: 2.832 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.227e-05/0.2589, allocations: 110.8 kB / 436 MB, free: 2.699 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.2591, allocations: 152 kB / 436.1 MB, free: 2.535 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.2591, allocations: 25.95 kB / 436.1 MB, free: 2.504 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.429e-05/0.2591, allocations: 96.09 kB / 436.2 MB, free: 2.406 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.2592, allocations: 15.88 kB / 436.2 MB, free: 2.391 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.2592, allocations: 25.72 kB / 436.3 MB, free: 2.359 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.2593, allocations: 318.8 kB / 436.6 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.67e-05/0.2594, allocations: 23.98 kB / 436.6 MB, free: 2.016 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.863e-05/0.2595, allocations: 58 kB / 436.7 MB, free: 1.938 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.2596, allocations: 85.88 kB / 436.7 MB, free: 1.832 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2596, allocations: 0 / 436.7 MB, free: 1.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00018/0.2598, allocations: 101.5 kB / 436.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.2598, allocations: 8 kB / 436.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.2598, allocations: 0 / 436.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.2598, allocations: 4.219 kB / 436.9 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.84e-05/0.2599, allocations: 23.92 kB / 436.9 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.2599, allocations: 0 / 436.9 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.656e-05/0.26, allocations: 11.94 kB / 436.9 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.26, allocations: 4 kB / 436.9 MB, free: 1.676 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.0001094/0.2601, allocations: 125.8 kB / 437 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.2602, allocations: 77.53 kB / 437.1 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.565e-05/0.2602, allocations: 12.41 kB / 437.1 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2602, allocations: 0 / 437.1 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2602, allocations: 8.031 kB / 437.1 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.2603, allocations: 3.938 kB / 437.1 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.2604, allocations: 144.7 kB / 437.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.2604, allocations: 0 / 437.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.374e-05/0.2605, allocations: 15.98 kB / 437.3 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2605, allocations: 3.938 kB / 437.3 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.2605, allocations: 4 kB / 437.3 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.2605, allocations: 4 kB / 437.3 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2605, allocations: 0 / 437.3 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.2607, allocations: 205.1 kB / 437.5 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.6e-05/0.2607, allocations: 7.953 kB / 437.5 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.2608, allocations: 11.98 kB / 437.5 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.904e-05/0.2608, allocations: 8.062 kB / 437.5 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.2609, allocations: 7.938 kB / 437.5 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.2609, allocations: 4 kB / 437.5 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.817e-05/0.261, allocations: 114.2 kB / 437.6 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.261, allocations: 0 / 437.6 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.2612, allocations: 20.12 kB / 437.7 MB, free: 0.832 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.0005723/0.2618, allocations: 0.7609 MB / 438.4 MB, free: 40 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.2619, allocations: 56.11 kB / 438.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2619, allocations: 0 / 438.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.372e-05/0.262, allocations: 7.984 kB / 438.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.2623, allocations: 47.92 kB / 438.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.2639, allocations: 1.546 MB / 440.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.2642, allocations: 0.7117 MB / 440.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.52e-05/0.2642, allocations: 8.422 kB / 440.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.22e-05/0.2643, allocations: 27.42 kB / 440.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2643, allocations: 0 / 440.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.2879, allocations: 2.148 MB / 443 MB, free: 11.44 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.754/8.042, allocations: 8 kB / 443 MB, free: 11.43 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.346062174066901] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'fractionalDelay.y'] 8.108625833876431 8.124148381 7.864350898 Calling exit ...