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.001326/0.001326, allocations: 108.5 kB / 19.8 MB, free: 2.516 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.001332/0.001332, allocations: 215.7 kB / 23 MB, free: 5.609 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.407/1.407, allocations: 230.5 MB / 256.5 MB, free: 8.438 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.001903/0.001903, allocations: 67.83 kB / 376.2 MB, free: 4.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2426, allocations: 53.31 MB / 429.5 MB, free: 7.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002952/0.2456, allocations: 1.638 MB / 431.2 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.2467, allocations: 0.6271 MB / 431.8 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.658e-05/0.2468, allocations: 0 / 431.8 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.247, allocations: 15.81 kB / 431.8 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.968e-05/0.2471, allocations: 11.92 kB / 431.8 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.2474, allocations: 75.73 kB / 431.9 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.2475, allocations: 63.83 kB / 432 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.719e-05/0.2476, allocations: 12 kB / 432 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.2477, allocations: 43.83 kB / 432 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.845e-05/0.2478, allocations: 35.8 kB / 432.1 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.2479, allocations: 4 kB / 432.1 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.897e-05/0.2479, allocations: 8 kB / 432.1 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.05e-05/0.248, allocations: 23.91 kB / 432.1 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.615e-05/0.248, allocations: 35.73 kB / 432.1 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.2482, allocations: 72.08 kB / 432.2 MB, free: 4.781 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2482, allocations: 4 kB / 432.2 MB, free: 4.777 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2482, allocations: 0 / 432.2 MB, free: 4.777 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.2482, allocations: 0 / 432.2 MB, free: 4.777 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.0005119/0.2487, allocations: 395 kB / 432.6 MB, free: 4.344 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.2487, allocations: 12.03 kB / 432.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.434e-05/0.2487, allocations: 34.69 kB / 432.6 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001523/0.2489, allocations: 20.88 kB / 432.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.2491, allocations: 208.6 kB / 432.9 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.2492, allocations: 12.38 kB / 432.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.2492, allocations: 7.938 kB / 432.9 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.2495, allocations: 149.9 kB / 433 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2495, allocations: 0 / 433 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.2495, allocations: 3.938 kB / 433 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.2495, allocations: 4 kB / 433 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.2496, allocations: 27.97 kB / 433.1 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.25, allocations: 286.5 kB / 433.3 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.2501, allocations: 79.66 kB / 433.4 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.766e-05/0.2502, allocations: 50.75 kB / 433.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.2502, allocations: 0 / 433.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.2503, allocations: 38.56 kB / 433.5 MB, free: 3.258 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.2503, allocations: 0 / 433.5 MB, free: 3.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.000311/0.2506, allocations: 105.8 kB / 433.6 MB, free: 3.148 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.663e-05/0.2507, allocations: 118.8 kB / 433.7 MB, free: 3.008 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.2508, allocations: 151.1 kB / 433.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.2509, allocations: 25.7 kB / 433.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/0.2509, allocations: 100.1 kB / 434 MB, free: 2.711 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.2509, allocations: 3.953 kB / 434 MB, free: 2.707 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.251, allocations: 29.7 kB / 434 MB, free: 2.672 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.2512, allocations: 310.8 kB / 434.3 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.796e-05/0.2512, allocations: 23.98 kB / 434.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.937e-05/0.2513, allocations: 58 kB / 434.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.2515, allocations: 89.86 kB / 434.5 MB, free: 2.148 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2515, allocations: 0 / 434.5 MB, free: 2.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001944/0.2517, allocations: 109.5 kB / 434.6 MB, free: 2.035 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.2517, allocations: 4 kB / 434.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2517, allocations: 4 kB / 434.6 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.2517, allocations: 3.984 kB / 434.6 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.955e-05/0.2518, allocations: 15.94 kB / 434.6 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.2518, allocations: 7.984 kB / 434.6 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.501e-05/0.2518, allocations: 11.92 kB / 434.6 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.2519, allocations: 0 / 434.6 MB, free: 1.988 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.0001329/0.252, allocations: 134 kB / 434.8 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.2521, allocations: 73.53 kB / 434.9 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.323e-05/0.2521, allocations: 20.3 kB / 434.9 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2522, allocations: 4 kB / 434.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2522, allocations: 0 / 434.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.2522, allocations: 3.938 kB / 434.9 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.2524, allocations: 174 kB / 435 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2524, allocations: 0 / 435 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-05/0.2524, allocations: 23.92 kB / 435.1 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.2524, allocations: 0 / 435.1 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.2524, allocations: 4.031 kB / 435.1 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.2524, allocations: 4.188 kB / 435.1 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2524, allocations: 0 / 435.1 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.2527, allocations: 201.1 kB / 435.3 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.313e-05/0.2528, allocations: 93.05 kB / 435.4 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.2528, allocations: 11.98 kB / 435.4 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.813e-05/0.2529, allocations: 0 / 435.4 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.2529, allocations: 11.94 kB / 435.4 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.2529, allocations: 7.875 kB / 435.4 MB, free: 1.125 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.713e-05/0.253, allocations: 115 kB / 435.5 MB, free: 1.016 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.253, allocations: 0 / 435.5 MB, free: 1.016 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.2532, allocations: 16 kB / 435.5 MB, free: 1 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.0006514/0.2539, allocations: 0.7532 MB / 436.3 MB, free: 220 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.2541, allocations: 59.84 kB / 436.3 MB, free: 160 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2541, allocations: 0.5 kB / 436.3 MB, free: 160 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.398e-05/0.2541, allocations: 8 kB / 436.3 MB, free: 152 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.2545, allocations: 51.86 kB / 436.4 MB, free: 100 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.2564, allocations: 1.549 MB / 437.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.2567, allocations: 0.7039 MB / 438.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.864e-05/0.2568, allocations: 8.422 kB / 438.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.037e-05/0.2568, allocations: 31.36 kB / 438.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2568, allocations: 0 / 438.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02378/0.2806, allocations: 2.098 MB / 440.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.808/8.088, allocations: 0 / 440.8 MB, free: 11.65 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 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.319074038998224] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'fractionalDelay.y'] 8.158149174996652 8.173760555 7.92227978 Calling exit ...