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.001694/0.001694, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001388/0.001388, allocations: 212.4 kB / 24.54 MB, free: 4.016 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.357/1.357, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.001869/0.001869, allocations: 64.77 kB / 378.6 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.254, allocations: 53.37 MB / 431.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.00305/0.2571, allocations: 1.781 MB / 433.7 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.2582, allocations: 0.6155 MB / 434.3 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.745e-05/0.2583, allocations: 7.875 kB / 434.3 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.061e-05/0.2583, allocations: 11.86 kB / 434.3 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.2585, allocations: 15.86 kB / 434.4 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.2589, allocations: 111.6 kB / 434.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.2591, allocations: 91.7 kB / 434.6 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.2592, allocations: 23.73 kB / 434.6 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.2593, allocations: 51.78 kB / 434.6 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.632e-05/0.2594, allocations: 55.69 kB / 434.7 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.2595, allocations: 12 kB / 434.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.559e-05/0.2595, allocations: 8 kB / 434.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.726e-05/0.2596, allocations: 27.92 kB / 434.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.611e-05/0.2596, allocations: 47.67 kB / 434.8 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.2598, allocations: 115.3 kB / 434.9 MB, free: 3.926 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.2598, allocations: 4 kB / 434.9 MB, free: 3.922 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2598, allocations: 0 / 434.9 MB, free: 3.922 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.2598, allocations: 0 / 434.9 MB, free: 3.922 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.0005379/0.2604, allocations: 353.7 kB / 435.2 MB, free: 3.547 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.2604, allocations: 12.03 kB / 435.3 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.35e-05/0.2604, allocations: 46.73 kB / 435.3 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.2606, allocations: 24.83 kB / 435.3 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.2608, allocations: 162.2 kB / 435.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.2609, allocations: 8.375 kB / 435.5 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.2609, allocations: 8.375 kB / 435.5 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004826/0.2614, allocations: 269.7 kB / 435.8 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.2614, allocations: 4 kB / 435.8 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.2614, allocations: 0 / 435.8 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2614, allocations: 0 / 435.8 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.2615, allocations: 55.89 kB / 435.8 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.2619, allocations: 285.5 kB / 436.1 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.2621, allocations: 119.9 kB / 436.2 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.2622, allocations: 66.66 kB / 436.3 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.2623, allocations: 7.984 kB / 436.3 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.2623, allocations: 42.5 kB / 436.3 MB, free: 2.309 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.253e-06/0.2623, allocations: 0 / 436.3 MB, free: 2.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004098/0.2627, allocations: 173.9 kB / 436.5 MB, free: 2.133 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.8e-05/0.2628, allocations: 118.8 kB / 436.6 MB, free: 1.992 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.2629, allocations: 162.2 kB / 436.8 MB, free: 1.824 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.263, allocations: 33.7 kB / 436.8 MB, free: 1.785 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.263, allocations: 96.08 kB / 436.9 MB, free: 1.688 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.263, allocations: 15.91 kB / 436.9 MB, free: 1.672 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.862e-05/0.2631, allocations: 33.7 kB / 436.9 MB, free: 1.633 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.2632, allocations: 330.8 kB / 437.3 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.978e-05/0.2633, allocations: 23.98 kB / 437.3 MB, free: 1.277 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.2635, allocations: 138.5 kB / 437.4 MB, free: 1.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.2637, allocations: 170.4 kB / 437.6 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2637, allocations: 7.938 kB / 437.6 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000278/0.2639, allocations: 177.7 kB / 437.8 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.264, allocations: 12.06 kB / 437.8 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.264, allocations: 4 kB / 437.8 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.264, allocations: 4 kB / 437.8 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.2641, allocations: 27.92 kB / 437.8 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/0.2641, allocations: 15.88 kB / 437.8 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.879e-05/0.2642, allocations: 8 kB / 437.8 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.2642, allocations: 8 kB / 437.9 MB, free: 0.6055 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.0001178/0.2643, allocations: 141.7 kB / 438 MB, free: 468 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000195/0.2645, allocations: 125.5 kB / 438.1 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.428e-05/0.2646, allocations: 20.72 kB / 438.1 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.2646, allocations: 3.984 kB / 438.1 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.2646, allocations: 7.938 kB / 438.1 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.2646, allocations: 3.984 kB / 438.2 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.2648, allocations: 168.6 kB / 438.3 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2648, allocations: 4 kB / 438.3 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.2649, allocations: 23.98 kB / 438.3 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.2649, allocations: 4 kB / 438.3 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.2649, allocations: 3.984 kB / 438.4 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.2649, allocations: 3.938 kB / 438.4 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.2649, allocations: 11.94 kB / 438.4 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003145/0.2652, allocations: 249.1 kB / 438.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.93e-05/0.2653, allocations: 31.88 kB / 438.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.2653, allocations: 4.094 kB / 438.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.004e-05/0.2654, allocations: 7.938 kB / 438.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.2654, allocations: 11.94 kB / 438.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.2654, allocations: 4 kB / 438.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.174e-05/0.2655, allocations: 115.2 kB / 438.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2655, allocations: 0 / 438.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.2658, allocations: 20 kB / 438.8 MB, free: 15.58 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.0006895/0.2665, allocations: 0.8535 MB / 439.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002346/0.2667, allocations: 104.6 kB / 439.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2667, allocations: 256 / 439.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.678e-05/0.2667, allocations: 12 kB / 439.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.2672, allocations: 83.83 kB / 439.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.269, allocations: 1.868 MB / 441.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.2694, allocations: 0.72 MB / 442.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.691e-05/0.2694, allocations: 17.42 kB / 442.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.365e-05/0.2695, allocations: 35.42 kB / 442.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2695, allocations: 0 / 442.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/0.2943, allocations: 2.885 MB / 445.4 MB, free: 8.855 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.76/8.054, allocations: 8 kB / 445.4 MB, free: 8.848 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.78998e-05 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.40749495709315] Failed to read output from testmodel.py, exit status != 0: ['time', 'upSample1.y', 'upSample2.y', 'add.y'] 8.124393307138234 8.149986042 7.885496241 Calling exit ...