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.001336/0.001336, allocations: 118.6 kB / 18.5 MB, free: 4.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.001339/0.001339, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.479/1.479, allocations: 230.4 MB / 254.7 MB, free: 14.96 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.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.001999/0.001999, allocations: 71.81 kB / 373.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1265, allocations: 53.31 MB / 426.9 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003643/0.1301, allocations: 1.778 MB / 428.7 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.1317, allocations: 0.6817 MB / 429.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.1318, allocations: 7.938 kB / 429.4 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.132, allocations: 23.78 kB / 429.4 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.1323, allocations: 43.72 kB / 429.4 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004851/0.1328, allocations: 131.7 kB / 429.6 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002576/0.133, allocations: 155.6 kB / 429.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.1331, allocations: 29.48 kB / 429.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.1333, allocations: 71.81 kB / 429.8 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003055/0.1336, allocations: 111.6 kB / 429.9 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.427e-05/0.1337, allocations: 15.94 kB / 429.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.989e-05/0.1338, allocations: 24 kB / 430 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.81e-05/0.1339, allocations: 71.8 kB / 430 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.134, allocations: 87.45 kB / 430.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003209/0.1343, allocations: 215.1 kB / 430.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1343, allocations: 0 / 430.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1343, allocations: 0 / 430.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1343, allocations: 0 / 430.3 MB, free: 1.375 MB / 350.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.0009704/0.1353, allocations: 0.5062 MB / 430.8 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.1353, allocations: 8.031 kB / 430.8 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.174e-05/0.1354, allocations: 58.72 kB / 430.9 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.1355, allocations: 32.75 kB / 430.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004578/0.136, allocations: 267.9 kB / 431.2 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.943e-05/0.136, allocations: 16.31 kB / 431.2 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.1361, allocations: 20.38 kB / 431.2 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2048/0.3409, allocations: 0.6198 MB / 431.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.3409, allocations: 3.812 kB / 431.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.3409, allocations: 5.938 kB / 431.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.11e-05/0.3409, allocations: 19.03 kB / 431.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003981/0.3413, allocations: 186.7 kB / 432 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004147/0.3418, allocations: 366.4 kB / 432.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/0.3422, allocations: 226 kB / 432.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/0.3424, allocations: 145 kB / 432.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.3424, allocations: 11.05 kB / 432.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.3425, allocations: 41.28 kB / 432.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.984e-06/0.3425, allocations: 2.75 kB / 432.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.0007975/0.3433, allocations: 416.8 kB / 433.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.168e-05/0.3433, allocations: 138.9 kB / 433.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.3435, allocations: 173 kB / 433.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.3435, allocations: 32.17 kB / 433.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.646e-05/0.3435, allocations: 104 kB / 433.7 MB, free: 9.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.3436, allocations: 45.09 kB / 433.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-05/0.3436, allocations: 71.44 kB / 433.8 MB, free: 9.895 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.838e-05/0.3437, allocations: 340.7 kB / 434.1 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002363/0.3439, allocations: 74.41 kB / 434.2 MB, free: 9.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.3442, allocations: 321.1 kB / 434.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.3445, allocations: 419.8 kB / 434.9 MB, free: 8.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.3445, allocations: 4.5 kB / 434.9 MB, free: 8.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005126/0.345, allocations: 411.6 kB / 435.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.345, allocations: 9.938 kB / 435.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.345, allocations: 8.438 kB / 435.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.345, allocations: 12.12 kB / 435.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.3453, allocations: 85.83 kB / 435.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.793e-05/0.3453, allocations: 18.27 kB / 435.4 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.3454, allocations: 38.94 kB / 435.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.3455, allocations: 24.94 kB / 435.5 MB, free: 8.832 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.0001412/0.3456, allocations: 178.7 kB / 435.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005529/0.3462, allocations: 301.4 kB / 436 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.59e-05/0.3462, allocations: 37.69 kB / 436 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3462, allocations: 4.469 kB / 436 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3462, allocations: 1.188 kB / 436 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.83e-06/0.3462, allocations: 5.062 kB / 436 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.3464, allocations: 247.2 kB / 436.3 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.3464, allocations: 0 / 436.3 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/0.3467, allocations: 61.8 kB / 436.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.3467, allocations: 2.375 kB / 436.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.3467, allocations: 11.11 kB / 436.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.3467, allocations: 2.875 kB / 436.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3467, allocations: 3.438 kB / 436.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005175/0.3472, allocations: 442.3 kB / 436.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.3474, allocations: 130.1 kB / 436.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.772e-05/0.3474, allocations: 18.77 kB / 436.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.3475, allocations: 12.83 kB / 436.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.3476, allocations: 1.781 kB / 436.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.3476, allocations: 13.89 kB / 437 MB, free: 8.152 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.854e-05/0.3477, allocations: 127.4 kB / 437.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3477, allocations: 1.125 kB / 437.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003811/0.3481, allocations: 58.25 kB / 437.1 MB, free: 8.07 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.001103/0.3492, allocations: 1.187 MB / 438.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004755/0.3496, allocations: 276.3 kB / 438.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3496, allocations: 1.094 kB / 438.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.51e-05/0.3497, allocations: 11.61 kB / 438.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006268/0.3503, allocations: 208.3 kB / 438.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003254/0.3536, allocations: 2.962 MB / 441.8 MB, free: 4.828 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.3538, allocations: 0.7814 MB / 442.6 MB, free: 4.125 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.574e-05/0.3539, allocations: 30.53 kB / 442.6 MB, free: 4.117 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.354, allocations: 70.83 kB / 442.7 MB, free: 4.07 MB / 350.1 MB Notification: Performance of SimCode: time 6.32e-07/0.354, allocations: 1.219 kB / 442.7 MB, free: 4.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03226/0.3862, allocations: 5.193 MB / 447.8 MB, free: 3.504 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.121/8.507, allocations: 6.938 kB / 447.9 MB, free: 3.504 MB / 350.1 MB " [Timeout remaining time 651] (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 --stepSize=1.1957e-05 --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: 10.91369660012424] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'upSample.y', 'superSampleIpo.y', 'FIR1.y', 'FIR2.y'] 8.579899526201189 8.604027612 8.464616872 Calling exit ...