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.001357/0.001357, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.00141/0.00141, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.501/1.501, allocations: 230.5 MB / 254.7 MB, free: 15.01 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.002038/0.002038, allocations: 71.83 kB / 373.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1121, allocations: 53.31 MB / 426.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003446/0.1155, allocations: 1.767 MB / 428.7 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.1168, allocations: 0.6077 MB / 429.3 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.798e-05/0.1169, allocations: 11.88 kB / 429.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.661e-05/0.1169, allocations: 7.875 kB / 429.3 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.1171, allocations: 27.78 kB / 429.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.1175, allocations: 99.7 kB / 429.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.1177, allocations: 95.69 kB / 429.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.1179, allocations: 17.45 kB / 429.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.118, allocations: 55.77 kB / 429.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.429e-05/0.1181, allocations: 39.78 kB / 429.6 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.1181, allocations: 12 kB / 429.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.43e-05/0.1182, allocations: 12 kB / 429.6 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.964e-05/0.1182, allocations: 35.83 kB / 429.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.161e-05/0.1183, allocations: 47.67 kB / 429.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.1185, allocations: 111.5 kB / 429.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.1185, allocations: 4 kB / 429.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1185, allocations: 0 / 429.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.1185, allocations: 0 / 429.8 MB, free: 1.973 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006023/0.1191, allocations: 430.8 kB / 430.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1192, allocations: 8.031 kB / 430.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.665e-05/0.1192, allocations: 46.73 kB / 430.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.1194, allocations: 24.83 kB / 430.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.1197, allocations: 224.1 kB / 430.6 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.1197, allocations: 8.375 kB / 430.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.1197, allocations: 8.375 kB / 430.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000525/0.1202, allocations: 273.7 kB / 430.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1203, allocations: 0 / 430.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.1203, allocations: 4 kB / 430.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.1203, allocations: 4 kB / 430.8 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.1204, allocations: 51.91 kB / 430.9 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.1208, allocations: 314.4 kB / 431.2 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002547/0.1211, allocations: 119.9 kB / 431.3 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.1212, allocations: 66.81 kB / 431.4 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.1213, allocations: 11.98 kB / 431.4 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.1213, allocations: 38.55 kB / 431.4 MB, free: 160 kB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.362e-06/0.1213, allocations: 3.938 kB / 431.4 MB, free: 156 kB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.1847/0.306, allocations: 170.7 kB / 431.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/0.3061, allocations: 114.5 kB / 431.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.3062, allocations: 158 kB / 431.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.3062, allocations: 26.48 kB / 431.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.468e-05/0.3063, allocations: 95.75 kB / 432 MB, free: 10.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.3063, allocations: 18.19 kB / 432 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.316e-05/0.3064, allocations: 39.95 kB / 432 MB, free: 10.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.967e-05/0.3064, allocations: 329.3 kB / 432.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.149e-05/0.3065, allocations: 28.81 kB / 432.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.674e-05/0.3066, allocations: 133.8 kB / 432.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.3067, allocations: 174.8 kB / 432.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3068, allocations: 0.75 kB / 432.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003314/0.3071, allocations: 184.7 kB / 432.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.485e-05/0.3071, allocations: 6.5 kB / 432.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.3071, allocations: 4.688 kB / 432.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3072, allocations: 4.781 kB / 432.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.3073, allocations: 29.88 kB / 432.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.3073, allocations: 14.03 kB / 432.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.951e-05/0.3074, allocations: 13.33 kB / 432.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.3074, allocations: 9.219 kB / 433 MB, free: 10.3 MB / 350.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 8.382e-05/0.3075, allocations: 141.4 kB / 433.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/0.3077, allocations: 120.8 kB / 433.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.081e-05/0.3077, allocations: 20.31 kB / 433.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.3077, allocations: 1.875 kB / 433.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3077, allocations: 5.344 kB / 433.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3077, allocations: 3.469 kB / 433.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.3079, allocations: 197.3 kB / 433.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3079, allocations: 3.406 kB / 433.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.308, allocations: 28.06 kB / 433.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.308, allocations: 3.797 kB / 433.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.308, allocations: 6.719 kB / 433.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.308, allocations: 1.969 kB / 433.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.308, allocations: 1.031 kB / 433.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.3083, allocations: 258.4 kB / 433.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.01e-05/0.3083, allocations: 102.7 kB / 433.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.3084, allocations: 10.55 kB / 433.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.492e-05/0.3084, allocations: 8.922 kB / 433.9 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.3085, allocations: 2.688 kB / 433.9 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.3085, allocations: 6.469 kB / 433.9 MB, free: 9.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.855e-05/0.3085, allocations: 117.1 kB / 434 MB, free: 9.617 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3085, allocations: 3.75 kB / 434 MB, free: 9.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000288/0.3088, allocations: 18.78 kB / 434 MB, free: 9.617 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.000618/0.3094, allocations: 0.85 MB / 434.8 MB, free: 8.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002452/0.3097, allocations: 111.7 kB / 435 MB, free: 8.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3097, allocations: 0 / 435 MB, free: 8.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.722e-05/0.3097, allocations: 6.938 kB / 435 MB, free: 8.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004584/0.3102, allocations: 86.31 kB / 435 MB, free: 8.926 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.3118, allocations: 1.848 MB / 436.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.312, allocations: 0.7207 MB / 437.6 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.543e-05/0.312, allocations: 15.92 kB / 437.6 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.79e-05/0.3121, allocations: 37.69 kB / 437.7 MB, free: 6.707 MB / 350.1 MB Notification: Performance of SimCode: time 9.61e-07/0.3121, allocations: 0 / 437.7 MB, free: 6.707 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0295/0.3416, allocations: 2.795 MB / 440.5 MB, free: 6.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.993/8.335, allocations: 12.41 kB / 440.5 MB, free: 6.312 MB / 350.1 MB " [Timeout remaining time 652] (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: 10.735925284679979] Failed to read output from testmodel.py, exit status != 0: ['time', 'upSample1.y', 'upSample2.y', 'add.y'] 8.40573363006115 8.42836035 8.305538174 Calling exit ...