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.001751/0.001751, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.002164/0.002164, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.502/1.502, allocations: 230.5 MB / 254.8 MB, free: 15.08 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.001991/0.001991, allocations: 75.81 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1043, allocations: 53.32 MB / 427 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003218/0.1075, allocations: 1.77 MB / 428.8 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.1087, allocations: 0.6154 MB / 429.4 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.317e-05/0.1088, allocations: 3.938 kB / 429.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.758e-05/0.1088, allocations: 11.86 kB / 429.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000158/0.109, allocations: 19.8 kB / 429.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004399/0.1094, allocations: 106.8 kB / 429.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.1096, allocations: 87.7 kB / 429.6 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.1097, allocations: 21.44 kB / 429.6 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.1099, allocations: 55.84 kB / 429.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.458e-05/0.1099, allocations: 47.77 kB / 429.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.11, allocations: 8 kB / 429.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.155e-05/0.11, allocations: 8 kB / 429.8 MB, free: 2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.505e-05/0.1101, allocations: 31.84 kB / 429.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.1102, allocations: 51.61 kB / 429.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.1104, allocations: 111.5 kB / 430 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1104, allocations: 0 / 430 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1104, allocations: 0 / 430 MB, free: 1.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1104, allocations: 4 kB / 430 MB, free: 1.805 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.0005979/0.111, allocations: 430.8 kB / 430.4 MB, free: 1.336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.111, allocations: 16.02 kB / 430.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.858e-05/0.1111, allocations: 38.75 kB / 430.4 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.1112, allocations: 24.83 kB / 430.5 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.1115, allocations: 228 kB / 430.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.1116, allocations: 12.38 kB / 430.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.1116, allocations: 12.38 kB / 430.7 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005111/0.1121, allocations: 261.8 kB / 431 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1121, allocations: 0 / 431 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1121, allocations: 0 / 431 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.1121, allocations: 4 kB / 431 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.1123, allocations: 47.91 kB / 431 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.1126, allocations: 318.4 kB / 431.3 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.1129, allocations: 127.9 kB / 431.4 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.113, allocations: 74.64 kB / 431.5 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.1131, allocations: 7.984 kB / 431.5 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.696e-05/0.1131, allocations: 38.5 kB / 431.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.172e-06/0.1131, allocations: 0 / 431.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004164/0.1135, allocations: 173.4 kB / 431.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.905e-05/0.1136, allocations: 114.9 kB / 431.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.1138, allocations: 158.1 kB / 432 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.1138, allocations: 33.7 kB / 432 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.18e-05/0.1138, allocations: 96.06 kB / 432.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.1139, allocations: 23.88 kB / 432.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-05/0.1139, allocations: 33.72 kB / 432.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1141, allocations: 326.8 kB / 432.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.899e-05/0.1141, allocations: 23.98 kB / 432.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.1143, allocations: 137.2 kB / 432.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.1145, allocations: 178.3 kB / 432.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1145, allocations: 0 / 432.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002989/0.1148, allocations: 185.6 kB / 433 MB, free: 14.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1148, allocations: 8 kB / 433 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.1149, allocations: 4.312 kB / 433 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.1149, allocations: 4 kB / 433 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.115, allocations: 31.92 kB / 433.1 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.115, allocations: 11.94 kB / 433.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.374e-05/0.1151, allocations: 11.98 kB / 433.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.1151, allocations: 11.98 kB / 433.1 MB, free: 14.27 MB / 366.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.0001294/0.1152, allocations: 143.7 kB / 433.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.1154, allocations: 125.8 kB / 433.4 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.31e-05/0.1155, allocations: 16.72 kB / 433.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1155, allocations: 0 / 433.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.505e-06/0.1155, allocations: 7.938 kB / 433.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.1155, allocations: 3.984 kB / 433.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.1157, allocations: 197.6 kB / 433.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1157, allocations: 0 / 433.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.1159, allocations: 27.92 kB / 433.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1159, allocations: 4 kB / 433.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.1159, allocations: 8 kB / 433.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1159, allocations: 0 / 433.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.1159, allocations: 7.938 kB / 433.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003182/0.1162, allocations: 247.3 kB / 433.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.532e-05/0.1163, allocations: 116.9 kB / 434 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.1163, allocations: 0 / 434 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.1164, allocations: 12 kB / 434 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.1164, allocations: 7.922 kB / 434 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.1165, allocations: 4 kB / 434 MB, free: 13.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.13e-05/0.1166, allocations: 120.1 kB / 434.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1166, allocations: 0 / 434.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.1168, allocations: 20 kB / 434.1 MB, free: 13.12 MB / 366.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.0007716/0.1176, allocations: 0.8389 MB / 435 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002395/0.1178, allocations: 104.8 kB / 435.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1178, allocations: 0 / 435.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.195e-05/0.1179, allocations: 15.98 kB / 435.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.1183, allocations: 76.31 kB / 435.2 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.1204, allocations: 1.873 MB / 437 MB, free: 9.992 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.1208, allocations: 0.7241 MB / 437.8 MB, free: 9.242 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.154e-05/0.1208, allocations: 9.438 kB / 437.8 MB, free: 9.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.764e-05/0.1209, allocations: 35.42 kB / 437.8 MB, free: 9.199 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1209, allocations: 0 / 437.8 MB, free: 9.199 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.1459, allocations: 2.8 MB / 440.6 MB, free: 6.551 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.016/8.162, allocations: 11.94 kB / 440.6 MB, free: 6.543 MB / 366.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.837001204956323] Failed to read output from testmodel.py, exit status != 0: ['time', 'upSample1.y', 'upSample2.y', 'add.y'] 8.229493994265795 8.403455107 8.290862279 Calling exit ...