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.00135/0.00135, 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.001628/0.001628, allocations: 212.3 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.53/1.53, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.001968/0.001968, allocations: 67.89 kB / 378.6 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3063, allocations: 53.36 MB / 431.9 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.00328/0.3096, allocations: 1.639 MB / 433.6 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.311, allocations: 0.6153 MB / 434.2 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.3111, allocations: 7.938 kB / 434.2 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002243/0.3113, allocations: 23.84 kB / 434.2 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.811e-05/0.3114, allocations: 7.875 kB / 434.2 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.3117, allocations: 75.8 kB / 434.3 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.3118, allocations: 67.83 kB / 434.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.646e-05/0.3119, allocations: 15.92 kB / 434.4 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.3121, allocations: 39.84 kB / 434.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.3122, allocations: 35.84 kB / 434.4 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.3122, allocations: 4 kB / 434.5 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.568e-05/0.3122, allocations: 8 kB / 434.5 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.616e-05/0.3123, allocations: 15.92 kB / 434.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.73e-05/0.3124, allocations: 35.75 kB / 434.5 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.3125, allocations: 76.48 kB / 434.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3125, allocations: 4 kB / 434.6 MB, free: 4.258 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.437e-06/0.3125, allocations: 4 kB / 434.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.3126, allocations: 0 / 434.6 MB, free: 4.254 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.0005317/0.3131, allocations: 321.8 kB / 434.9 MB, free: 3.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.3131, allocations: 12.03 kB / 434.9 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.566e-05/0.3132, allocations: 34.73 kB / 435 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.3133, allocations: 16.89 kB / 435 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.3137, allocations: 148.2 kB / 435.1 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.3137, allocations: 8.375 kB / 435.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.3137, allocations: 7.938 kB / 435.1 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003801/0.3141, allocations: 157.7 kB / 435.3 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3141, allocations: 4 kB / 435.3 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.3141, allocations: 0 / 435.3 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.3141, allocations: 7.938 kB / 435.3 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.3142, allocations: 35.91 kB / 435.3 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004161/0.3146, allocations: 245.7 kB / 435.6 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.3148, allocations: 87.81 kB / 435.7 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.484e-05/0.3149, allocations: 42.62 kB / 435.7 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.3149, allocations: 0 / 435.7 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.315, allocations: 50.44 kB / 435.7 MB, free: 2.922 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.315, allocations: 0 / 435.7 MB, free: 2.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.000348/0.3153, allocations: 105.5 kB / 435.8 MB, free: 2.812 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.81e-05/0.3154, allocations: 106.8 kB / 436 MB, free: 2.684 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.3156, allocations: 152.6 kB / 436.1 MB, free: 2.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.3156, allocations: 25.7 kB / 436.1 MB, free: 2.488 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.352e-05/0.3157, allocations: 104.3 kB / 436.2 MB, free: 2.383 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.3157, allocations: 3.953 kB / 436.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.3157, allocations: 25.72 kB / 436.3 MB, free: 2.348 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3159, allocations: 318.8 kB / 436.6 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.325e-05/0.316, allocations: 24.17 kB / 436.6 MB, free: 2.004 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.326e-05/0.3161, allocations: 62 kB / 436.7 MB, free: 1.922 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.3162, allocations: 85.94 kB / 436.7 MB, free: 1.816 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3162, allocations: 0 / 436.7 MB, free: 1.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001991/0.3164, allocations: 109.4 kB / 436.8 MB, free: 1.703 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3164, allocations: 4 kB / 436.8 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3164, allocations: 4 kB / 436.9 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3164, allocations: 0 / 436.9 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.749e-05/0.3165, allocations: 16.2 kB / 436.9 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.3165, allocations: 11.94 kB / 436.9 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.557e-05/0.3166, allocations: 7.938 kB / 436.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.3166, allocations: 8 kB / 436.9 MB, free: 1.652 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.0001296/0.3167, allocations: 129.8 kB / 437 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.3169, allocations: 69.53 kB / 437.1 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.414e-05/0.3169, allocations: 16.41 kB / 437.1 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.3169, allocations: 7.984 kB / 437.1 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3169, allocations: 0 / 437.1 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.3169, allocations: 7.969 kB / 437.1 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.3171, allocations: 144.7 kB / 437.3 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3171, allocations: 4 kB / 437.3 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.435e-05/0.3172, allocations: 8.188 kB / 437.3 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3172, allocations: 0 / 437.3 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.3172, allocations: 11.94 kB / 437.3 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3172, allocations: 0 / 437.3 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3172, allocations: 3.984 kB / 437.3 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.3175, allocations: 197.1 kB / 437.5 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.908e-05/0.3175, allocations: 23.88 kB / 437.5 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.3175, allocations: 0 / 437.5 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.43e-05/0.3176, allocations: 8 kB / 437.5 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.3176, allocations: 7.922 kB / 437.5 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.3177, allocations: 4 kB / 437.5 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.531e-05/0.3177, allocations: 114.2 kB / 437.6 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3177, allocations: 4 kB / 437.6 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002413/0.318, allocations: 12 kB / 437.7 MB, free: 0.8125 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.0007195/0.3187, allocations: 0.7571 MB / 438.4 MB, free: 24 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002094/0.3189, allocations: 59.98 kB / 438.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3189, allocations: 0 / 438.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.381e-05/0.319, allocations: 11.92 kB / 438.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.3193, allocations: 43.94 kB / 438.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.3211, allocations: 1.549 MB / 440.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/0.3216, allocations: 0.7039 MB / 440.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.64e-05/0.3216, allocations: 8.438 kB / 440.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.923e-05/0.3217, allocations: 31.41 kB / 440.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3217, allocations: 4 kB / 440.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02626/0.3479, allocations: 2.14 MB / 443 MB, free: 11.42 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.261/8.608, allocations: 11.38 kB / 443 MB, free: 11.41 MB / 350.1 MB " [Timeout remaining time 651] (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 --stepSize=1.7939e-05 --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: 11.060071161016822] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'fractionalDelay.y'] 8.681459965649992 8.69906625 8.383219802 Calling exit ...