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.001776/0.001776, allocations: 117.3 kB / 18.45 MB, free: 4.613 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.002437/0.002438, allocations: 210.5 kB / 21.41 MB, free: 1.66 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.632/1.632, allocations: 227.7 MB / 251.9 MB, free: 12 kB / 190.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.002135/0.002135, allocations: 71.83 kB / 365.2 MB, free: 196 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1242, allocations: 50.54 MB / 415.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003633/0.1279, allocations: 1.762 MB / 417.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001511/0.1295, allocations: 0.6037 MB / 418.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.1297, allocations: 3.938 kB / 418.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.175e-05/0.1298, allocations: 11.88 kB / 418.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.1299, allocations: 19.8 kB / 418.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005222/0.1305, allocations: 95.77 kB / 418.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.1306, allocations: 91.7 kB / 418.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.1308, allocations: 29.42 kB / 418.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.131, allocations: 55.84 kB / 418.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.811e-05/0.1311, allocations: 43.7 kB / 418.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.1311, allocations: 8 kB / 418.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.799e-05/0.1312, allocations: 12 kB / 418.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.99e-05/0.1313, allocations: 31.84 kB / 418.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.198e-05/0.1314, allocations: 47.67 kB / 418.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.1316, allocations: 115.5 kB / 418.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1316, allocations: 0 / 418.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1316, allocations: 0 / 418.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.1316, allocations: 0 / 418.7 MB, free: 10.67 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.000653/0.1323, allocations: 434.8 kB / 419.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.1324, allocations: 8.031 kB / 419.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.645e-05/0.1324, allocations: 46.73 kB / 419.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002418/0.1327, allocations: 24.84 kB / 419.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.133, allocations: 228.1 kB / 419.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.1331, allocations: 4.375 kB / 419.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.1331, allocations: 12.38 kB / 419.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005396/0.1336, allocations: 265.7 kB / 419.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1337, allocations: 0 / 419.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.1337, allocations: 4 kB / 419.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1337, allocations: 0 / 419.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.1338, allocations: 51.91 kB / 419.8 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004304/0.1343, allocations: 318.4 kB / 420.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.1346, allocations: 135.7 kB / 420.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.1347, allocations: 74.66 kB / 420.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.1347, allocations: 15.92 kB / 420.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.55e-05/0.1348, allocations: 34.56 kB / 420.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.1348, allocations: 0 / 420.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004359/0.1353, allocations: 173.4 kB / 420.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.1354, allocations: 122.9 kB / 420.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.1355, allocations: 154.2 kB / 420.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.1356, allocations: 29.7 kB / 420.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.551e-05/0.1356, allocations: 88.3 kB / 420.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.1357, allocations: 23.88 kB / 420.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.194e-05/0.1357, allocations: 37.7 kB / 420.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1359, allocations: 330.8 kB / 421.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.317e-05/0.136, allocations: 27.98 kB / 421.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.1361, allocations: 133 kB / 421.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.1364, allocations: 174.3 kB / 421.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1364, allocations: 0 / 421.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003137/0.1367, allocations: 189.5 kB / 421.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.1367, allocations: 8 kB / 421.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.1368, allocations: 4 kB / 421.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.1368, allocations: 7.984 kB / 421.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.1369, allocations: 27.92 kB / 421.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.1369, allocations: 11.94 kB / 421.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.107e-05/0.137, allocations: 8 kB / 421.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.137, allocations: 8 kB / 421.8 MB, free: 7.129 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 0.0001426/0.1372, allocations: 146.2 kB / 422 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.1374, allocations: 117.9 kB / 422.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.459e-05/0.1375, allocations: 24.7 kB / 422.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1375, allocations: 96 / 422.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.1375, allocations: 11.88 kB / 422.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1375, allocations: 0 / 422.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.1377, allocations: 193.6 kB / 422.3 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1377, allocations: 0 / 422.3 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.1379, allocations: 31.92 kB / 422.4 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1379, allocations: 4 kB / 422.4 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.1379, allocations: 4 kB / 422.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1379, allocations: 0 / 422.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.057e-05/0.1379, allocations: 11.92 kB / 422.4 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.1383, allocations: 252.9 kB / 422.6 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.1384, allocations: 108.9 kB / 422.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.1384, allocations: 8 kB / 422.7 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.159e-05/0.1385, allocations: 4 kB / 422.7 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.1385, allocations: 7.938 kB / 422.8 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.1386, allocations: 4 kB / 422.8 MB, free: 6.109 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001174/0.1387, allocations: 116.1 kB / 422.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1387, allocations: 0 / 422.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003133/0.139, allocations: 24 kB / 422.9 MB, free: 5.973 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.000891/0.1399, allocations: 0.8411 MB / 423.7 MB, free: 5.102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002815/0.1402, allocations: 112.5 kB / 423.8 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1402, allocations: 0 / 423.8 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.181e-05/0.1403, allocations: 4 kB / 423.8 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005276/0.1408, allocations: 87.84 kB / 423.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.143, allocations: 1.868 MB / 425.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.1435, allocations: 0.7202 MB / 426.5 MB, free: 2.094 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.98e-05/0.1435, allocations: 13.42 kB / 426.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.991e-05/0.1436, allocations: 38.55 kB / 426.6 MB, free: 2.047 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1436, allocations: 0 / 426.6 MB, free: 2.047 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.1699, allocations: 2.765 MB / 429.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.028/8.198, allocations: 4.609 kB / 429.3 MB, free: 15.43 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.970975894946605] Failed to read output from testmodel.py, exit status != 0: ['time', 'upSample1.y', 'upSample2.y', 'add.y'] 8.267710177926347 8.288177381 8.152464594 Calling exit ...