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.UpSample2.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.001414/0.001414, allocations: 105 kB / 19.74 MB, free: 2.566 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.001512/0.001512, allocations: 216.9 kB / 22.92 MB, free: 5.535 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.252/1.252, allocations: 230.4 MB / 256.4 MB, free: 8.434 MB / 206.1 MB " [Timeout remaining time 179] 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.UpSample2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",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.001792/0.001792, allocations: 71.83 kB / 376.1 MB, free: 4.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.2012, allocations: 53.3 MB / 429.4 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.002612/0.2038, allocations: 1.794 MB / 431.2 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.2049, allocations: 0.6894 MB / 431.9 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.42e-05/0.205, allocations: 3.938 kB / 431.9 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.2051, allocations: 19.8 kB / 431.9 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.2053, allocations: 46.7 kB / 432 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003759/0.2057, allocations: 135.7 kB / 432.1 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.2058, allocations: 167.5 kB / 432.3 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.076e-05/0.2059, allocations: 17.56 kB / 432.3 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.2061, allocations: 87.73 kB / 432.4 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.2063, allocations: 107.6 kB / 432.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.2063, allocations: 12 kB / 432.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.53e-05/0.2064, allocations: 16 kB / 432.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.969e-05/0.2064, allocations: 67.81 kB / 432.6 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.458e-05/0.2065, allocations: 87.41 kB / 432.6 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.2068, allocations: 219.4 kB / 432.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.2068, allocations: 0 / 432.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2068, allocations: 0 / 432.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.2068, allocations: 0 / 432.9 MB, free: 3.977 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007278/0.2075, allocations: 0.5179 MB / 433.4 MB, free: 3.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.2075, allocations: 12.03 kB / 433.4 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.964e-05/0.2076, allocations: 46.73 kB / 433.4 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.2077, allocations: 44.73 kB / 433.5 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.208, allocations: 263.8 kB / 433.7 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.208, allocations: 16.38 kB / 433.7 MB, free: 2.988 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.2081, allocations: 16.38 kB / 433.8 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009781/0.2091, allocations: 0.6262 MB / 434.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.2091, allocations: 0 / 434.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.2091, allocations: 8 kB / 434.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/0.2091, allocations: 11.98 kB / 434.4 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003659/0.2095, allocations: 191.8 kB / 434.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003825/0.2099, allocations: 370.3 kB / 435 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003999/0.2103, allocations: 227.5 kB / 435.2 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000246/0.2105, allocations: 142.6 kB / 435.3 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.2105, allocations: 12 kB / 435.3 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.2106, allocations: 38.5 kB / 435.4 MB, free: 1.242 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.332e-06/0.2106, allocations: 0 / 435.4 MB, free: 1.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0007878/0.2113, allocations: 422 kB / 435.8 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.2115, allocations: 146.8 kB / 435.9 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.2116, allocations: 174.2 kB / 436.1 MB, free: 484 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.2116, allocations: 33.69 kB / 436.1 MB, free: 444 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/0.2117, allocations: 97.14 kB / 436.2 MB, free: 340 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.361e-05/0.2117, allocations: 51.67 kB / 436.3 MB, free: 288 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.136e-05/0.2118, allocations: 74.12 kB / 436.3 MB, free: 208 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.2119, allocations: 338.8 kB / 436.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.2121, allocations: 72.83 kB / 436.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.2124, allocations: 322.7 kB / 437.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004175/0.2128, allocations: 413 kB / 437.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.2128, allocations: 4 kB / 437.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005466/0.2133, allocations: 408.9 kB / 437.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.2133, allocations: 8 kB / 437.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.2133, allocations: 8.906 kB / 437.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.2134, allocations: 12 kB / 437.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.2136, allocations: 91.83 kB / 438 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/0.2136, allocations: 15.94 kB / 438 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.2137, allocations: 31.84 kB / 438 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.2138, allocations: 23.98 kB / 438.1 MB, free: 14.24 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 13 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,superSampleIpo.usedFactor,$CLKPRE.FIR1.first,FIR1.first,$CLKPRE.FIR2.first,FIR2.first,$CLKPRE.upSample.b_super,upSample.b_super,$CLKPRE.superSampleIpo.first,superSampleIpo.first,$CLKPRE.upSample.b,upSample.b) * Number of discrete states: 0 () * Number of clocked states: 13 (superSampleIpo.ticks,FIR1.first,FIR1.u_buffer[2],FIR1.u_buffer[1],FIR2.first,FIR2.u_buffer[4],FIR2.u_buffer[3],FIR2.u_buffer[2],FIR2.u_buffer[1],upSample.b_super,superSampleIpo.first,superSampleIpo.uu,upSample.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001584/0.2139, allocations: 189.4 kB / 438.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004744/0.2144, allocations: 290.4 kB / 438.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.64e-05/0.2145, allocations: 34.66 kB / 438.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.2145, allocations: 11.98 kB / 438.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2145, allocations: 4 kB / 438.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2145, allocations: 0 / 438.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.2147, allocations: 253.3 kB / 438.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2147, allocations: 0 / 438.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.215, allocations: 63.91 kB / 438.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.215, allocations: 3.938 kB / 438.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.215, allocations: 11.98 kB / 438.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.215, allocations: 7.938 kB / 438.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.215, allocations: 0 / 438.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005653/0.2156, allocations: 439.8 kB / 439.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.2157, allocations: 124.9 kB / 439.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.72e-05/0.2157, allocations: 19.98 kB / 439.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.2159, allocations: 11.98 kB / 439.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/0.2159, allocations: 4 kB / 439.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.2159, allocations: 16 kB / 439.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.365e-05/0.216, allocations: 132.3 kB / 439.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.216, allocations: 0 / 439.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003483/0.2164, allocations: 51.94 kB / 439.7 MB, free: 12.5 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: 7 (upSample.b_super,FIR2.first,FIR1.first,superSampleIpo.usedFactor,superSampleIpo.ticks,upSample.b,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 13 (upSample.b_super,FIR2.u_buffer[1],FIR2.u_buffer[2],FIR2.u_buffer[3],FIR2.u_buffer[4],FIR2.first,FIR1.u_buffer[1],FIR1.u_buffer[2],FIR1.first,superSampleIpo.ticks,upSample.b,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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.001147/0.2175, allocations: 1.188 MB / 440.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004564/0.218, allocations: 285.5 kB / 441.2 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.218, allocations: 0 / 441.2 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.872e-05/0.218, allocations: 15.94 kB / 441.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000599/0.2186, allocations: 203.8 kB / 441.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003272/0.2219, allocations: 2.957 MB / 444.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.2222, allocations: 0.7761 MB / 445.1 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.794e-05/0.2223, allocations: 30.28 kB / 445.1 MB, free: 6.668 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.2224, allocations: 71.41 kB / 445.2 MB, free: 6.598 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2224, allocations: 0 / 445.2 MB, free: 6.598 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02696/0.2494, allocations: 5.234 MB / 450.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.105/7.355, allocations: 14.88 kB / 450.5 MB, free: 1.469 MB / 350.1 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2_fmu --startTime=0 --stopTime=0.06 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.366837179004506]