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.001447/0.001447, 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.001525/0.001525, allocations: 213.2 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.596/1.596, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.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.002796/0.002796, allocations: 64.77 kB / 378.6 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3521, allocations: 53.36 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003406/0.3555, allocations: 1.799 MB / 433.7 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.3567, allocations: 0.6155 MB / 434.3 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.3568, allocations: 7.938 kB / 434.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.514e-05/0.3569, allocations: 11.81 kB / 434.4 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.357, allocations: 11.86 kB / 434.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005122/0.3575, allocations: 103.6 kB / 434.5 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.3577, allocations: 95.75 kB / 434.6 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.3579, allocations: 17.64 kB / 434.6 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.358, allocations: 51.77 kB / 434.6 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.198e-05/0.3581, allocations: 55.7 kB / 434.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.3582, allocations: 8 kB / 434.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.711e-05/0.3582, allocations: 8 kB / 434.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.097e-05/0.3583, allocations: 31.91 kB / 434.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.62e-05/0.3583, allocations: 47.67 kB / 434.8 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.3586, allocations: 116.2 kB / 434.9 MB, free: 3.902 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.3586, allocations: 0 / 434.9 MB, free: 3.902 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3586, allocations: 0 / 434.9 MB, free: 3.902 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.8e-06/0.3586, allocations: 0 / 434.9 MB, free: 3.902 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.0006067/0.3592, allocations: 361.7 kB / 435.2 MB, free: 3.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3592, allocations: 8.031 kB / 435.3 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.168e-05/0.3593, allocations: 46.73 kB / 435.3 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.3594, allocations: 20.84 kB / 435.3 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.3597, allocations: 166.2 kB / 435.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.3598, allocations: 8.312 kB / 435.5 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.3598, allocations: 8.375 kB / 435.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005317/0.3603, allocations: 273.8 kB / 435.8 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3603, allocations: 0 / 435.8 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3603, allocations: 0 / 435.8 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.3603, allocations: 7.984 kB / 435.8 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.3605, allocations: 43.98 kB / 435.8 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.3609, allocations: 293.4 kB / 436.1 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.3611, allocations: 119.9 kB / 436.2 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.3612, allocations: 66.66 kB / 436.3 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.521e-05/0.3613, allocations: 12 kB / 436.3 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.3613, allocations: 34.5 kB / 436.3 MB, free: 2.285 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.3613, allocations: 0 / 436.3 MB, free: 2.285 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.000434/0.3618, allocations: 177.6 kB / 436.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.3619, allocations: 118.8 kB / 436.6 MB, free: 1.965 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.362, allocations: 162.2 kB / 436.8 MB, free: 1.797 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.362, allocations: 25.7 kB / 436.8 MB, free: 1.766 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.152e-05/0.3621, allocations: 96.09 kB / 436.9 MB, free: 1.668 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.3621, allocations: 19.89 kB / 436.9 MB, free: 1.648 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.611e-05/0.3622, allocations: 37.7 kB / 437 MB, free: 1.605 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3623, allocations: 326.8 kB / 437.3 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.48e-05/0.3624, allocations: 23.98 kB / 437.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.3626, allocations: 140.4 kB / 437.4 MB, free: 1.066 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/0.3628, allocations: 170.4 kB / 437.6 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3628, allocations: 0 / 437.6 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003134/0.3631, allocations: 181.6 kB / 437.8 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.3631, allocations: 12.06 kB / 437.8 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/0.3631, allocations: 4 kB / 437.8 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.3632, allocations: 7.984 kB / 437.8 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.3633, allocations: 35.91 kB / 437.8 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/0.3633, allocations: 7.938 kB / 437.8 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.348e-05/0.3634, allocations: 19.88 kB / 437.9 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.3634, allocations: 8 kB / 437.9 MB, free: 0.5703 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.0001506/0.3636, allocations: 137.8 kB / 438 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.3638, allocations: 125.8 kB / 438.1 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.679e-05/0.3638, allocations: 24.7 kB / 438.1 MB, free: 280 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3638, allocations: 4 kB / 438.2 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.3638, allocations: 3.938 kB / 438.2 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3639, allocations: 0 / 438.2 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.3641, allocations: 172.6 kB / 438.3 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3641, allocations: 0 / 438.3 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.3642, allocations: 27.98 kB / 438.4 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.3642, allocations: 0 / 438.4 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.3642, allocations: 4 kB / 438.4 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3642, allocations: 0 / 438.4 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3642, allocations: 8.328 kB / 438.4 MB, free: 16 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003936/0.3646, allocations: 257 kB / 438.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.787e-05/0.3647, allocations: 23.89 kB / 438.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.3647, allocations: 8 kB / 438.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.814e-05/0.3648, allocations: 11.98 kB / 438.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.3648, allocations: 7.938 kB / 438.7 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.3649, allocations: 4 kB / 438.7 MB, free: 15.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.365, allocations: 115.2 kB / 438.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.365, allocations: 0 / 438.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000279/0.3652, allocations: 20 kB / 438.8 MB, free: 15.55 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.00083/0.3661, allocations: 0.8457 MB / 439.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000257/0.3663, allocations: 104.7 kB / 439.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.379e-05/0.3663, allocations: 8.125 kB / 439.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.005e-05/0.3664, allocations: 15.98 kB / 439.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004652/0.3668, allocations: 83.59 kB / 439.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.3689, allocations: 1.863 MB / 441.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.3694, allocations: 0.7278 MB / 442.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.965e-05/0.3694, allocations: 9.438 kB / 442.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.295e-05/0.3695, allocations: 39.41 kB / 442.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3695, allocations: 3.938 kB / 442.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.3965, allocations: 2.88 MB / 445.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.411/8.808, allocations: 7.312 kB / 445.4 MB, free: 8.828 MB / 350.1 MB " [Timeout remaining time 651] (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 --stepSize=1.78998e-05 --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: 11.349072968121618] Failed to read output from testmodel.py, exit status != 0: ['time', 'upSample1.y', 'upSample2.y', 'add.y'] 8.880075054243207 8.896297595 8.533959194 Calling exit ...