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.UpSample1.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.001191/0.001191, 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.001314/0.001314, allocations: 217.6 kB / 22.92 MB, free: 5.539 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.279/1.279, allocations: 230.4 MB / 256.4 MB, free: 8.449 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.UpSample1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1",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.001828/0.001828, allocations: 75.75 kB / 376.1 MB, free: 4.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2181, allocations: 53.31 MB / 429.4 MB, free: 7.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.002852/0.2209, allocations: 1.781 MB / 431.2 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.222, allocations: 0.6038 MB / 431.8 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.974e-05/0.222, allocations: 11.88 kB / 431.8 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.008e-05/0.2221, allocations: 7.875 kB / 431.8 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.2222, allocations: 19.8 kB / 431.8 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.2226, allocations: 106.4 kB / 431.9 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.2227, allocations: 91.77 kB / 432 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.753e-05/0.2228, allocations: 25.42 kB / 432.1 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.223, allocations: 47.8 kB / 432.1 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.697e-05/0.223, allocations: 51.69 kB / 432.2 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.2231, allocations: 8 kB / 432.2 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.264e-05/0.2231, allocations: 12 kB / 432.2 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.157e-05/0.2231, allocations: 23.92 kB / 432.2 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.285e-05/0.2232, allocations: 51.67 kB / 432.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.2234, allocations: 115.8 kB / 432.4 MB, free: 4.504 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2234, allocations: 0 / 432.4 MB, free: 4.504 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2234, allocations: 4 kB / 432.4 MB, free: 4.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.2234, allocations: 0 / 432.4 MB, free: 4.5 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005343/0.2239, allocations: 430.8 kB / 432.8 MB, free: 4.031 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.224, allocations: 8.031 kB / 432.8 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.627e-05/0.224, allocations: 46.67 kB / 432.8 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.2241, allocations: 24.83 kB / 432.9 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.2244, allocations: 228.1 kB / 433.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.2245, allocations: 8.375 kB / 433.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.2245, allocations: 4.375 kB / 433.1 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004579/0.2249, allocations: 270.4 kB / 433.4 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.225, allocations: 0 / 433.4 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.225, allocations: 3.984 kB / 433.4 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.225, allocations: 7.938 kB / 433.4 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.2251, allocations: 51.97 kB / 433.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.2255, allocations: 314.4 kB / 433.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.2257, allocations: 127.9 kB / 433.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.2258, allocations: 66.66 kB / 433.9 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.2258, allocations: 7.984 kB / 433.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.2258, allocations: 34.5 kB / 434 MB, free: 2.684 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.2258, allocations: 0 / 434 MB, free: 2.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.000397/0.2262, allocations: 181.4 kB / 434.1 MB, free: 2.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.56e-05/0.2263, allocations: 122.9 kB / 434.3 MB, free: 2.355 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.2265, allocations: 158.1 kB / 434.4 MB, free: 2.191 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.2265, allocations: 29.7 kB / 434.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.02e-05/0.2265, allocations: 100.1 kB / 434.5 MB, free: 2.055 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.2266, allocations: 15.91 kB / 434.6 MB, free: 2.039 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-05/0.2266, allocations: 33.7 kB / 434.6 MB, free: 2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.2267, allocations: 330.9 kB / 434.9 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.358e-05/0.2268, allocations: 23.98 kB / 434.9 MB, free: 1.645 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.2269, allocations: 130.6 kB / 435.1 MB, free: 1.465 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.2272, allocations: 178.3 kB / 435.2 MB, free: 1.238 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2272, allocations: 0 / 435.2 MB, free: 1.238 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00028/0.2274, allocations: 185.2 kB / 435.4 MB, free: 1.051 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.2275, allocations: 8 kB / 435.4 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2275, allocations: 4 kB / 435.4 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2275, allocations: 4 kB / 435.4 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.2276, allocations: 31.92 kB / 435.5 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/0.2276, allocations: 7.938 kB / 435.5 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.613e-05/0.2277, allocations: 12.47 kB / 435.5 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.2277, allocations: 15.98 kB / 435.5 MB, free: 0.9688 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 ($CLKPRE.upSample2.b_super,upSample2.b_super,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.upSample2.b,upSample2.b,$CLKPRE.upSample1.b,upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001162/0.2278, allocations: 137.7 kB / 435.6 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/0.228, allocations: 117.5 kB / 435.7 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.288e-05/0.228, allocations: 20.66 kB / 435.8 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.228, allocations: 4 kB / 435.8 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.228, allocations: 3.938 kB / 435.8 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.228, allocations: 3.984 kB / 435.8 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.2282, allocations: 197.5 kB / 436 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.2282, allocations: 12 kB / 436 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.2284, allocations: 19.98 kB / 436 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.2284, allocations: 8.453 kB / 436 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.2284, allocations: 0 / 436 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.2284, allocations: 4 kB / 436 MB, free: 392 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2284, allocations: 3.938 kB / 436 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/0.2287, allocations: 261 kB / 436.3 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.2288, allocations: 112.9 kB / 436.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.2288, allocations: 4 kB / 436.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.096e-05/0.2289, allocations: 4 kB / 436.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.2289, allocations: 7.938 kB / 436.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.2289, allocations: 11.97 kB / 436.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.433e-05/0.229, allocations: 116.1 kB / 436.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.229, allocations: 0 / 436.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.2293, allocations: 20 kB / 436.5 MB, free: 15.81 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: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0007493/0.23, allocations: 0.8447 MB / 437.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002426/0.2303, allocations: 103.8 kB / 437.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2303, allocations: 4 kB / 437.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.881e-05/0.2303, allocations: 11.94 kB / 437.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.2308, allocations: 84.77 kB / 437.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.2327, allocations: 1.862 MB / 439.5 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.2331, allocations: 0.724 MB / 440.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.872e-05/0.2331, allocations: 13.42 kB / 440.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.993e-05/0.2332, allocations: 35.42 kB / 440.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2332, allocations: 0 / 440.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0238/0.257, allocations: 2.782 MB / 443 MB, free: 9.195 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.833/7.09, allocations: 11.19 kB / 443 MB, free: 9.188 MB / 350.1 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.125912671996048]