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.Sample3.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.001792/0.001792, allocations: 117.4 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.001859/0.001859, 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.545/1.545, allocations: 227.7 MB / 251.9 MB, free: 24 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.Sample3,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",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.002034/0.002034, allocations: 75.83 kB / 365.2 MB, free: 220 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1314, allocations: 50.53 MB / 415.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003501/0.135, allocations: 1.694 MB / 417.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005053/0.1355, allocations: 159.5 kB / 417.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.744e-05/0.1357, allocations: 0 / 417.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.111e-05/0.1358, allocations: 11.86 kB / 417.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.1359, allocations: 15.88 kB / 417.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.1362, allocations: 47.89 kB / 417.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.1364, allocations: 55.84 kB / 417.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.1365, allocations: 23.98 kB / 417.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.927e-05/0.1366, allocations: 31.84 kB / 417.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.51e-05/0.1366, allocations: 19.86 kB / 417.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.107e-05/0.1367, allocations: 15.94 kB / 417.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.612e-05/0.1367, allocations: 4 kB / 417.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.308e-05/0.1368, allocations: 19.92 kB / 417.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.721e-05/0.1368, allocations: 31.75 kB / 417.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.137, allocations: 71.59 kB / 418 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.137, allocations: 0 / 418 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.137, allocations: 0 / 418 MB, free: 11.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.137, allocations: 0 / 418 MB, free: 11.43 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006215/0.1377, allocations: 395 kB / 418.4 MB, free: 11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1377, allocations: 8.031 kB / 418.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.907e-05/0.1378, allocations: 38.75 kB / 418.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.1378, allocations: 12.89 kB / 418.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.1381, allocations: 206.8 kB / 418.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1381, allocations: 4.375 kB / 418.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.1382, allocations: 4.375 kB / 418.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003661/0.1385, allocations: 171.7 kB / 418.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.1386, allocations: 7.875 kB / 418.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1386, allocations: 4 kB / 418.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1386, allocations: 0 / 418.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.1387, allocations: 35.97 kB / 418.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004338/0.1392, allocations: 369.8 kB / 419.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.1395, allocations: 112 kB / 419.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.1396, allocations: 66.55 kB / 419.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.1396, allocations: 7.984 kB / 419.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.1397, allocations: 38.5 kB / 419.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.1397, allocations: 0 / 419.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003718/0.14, allocations: 125.9 kB / 419.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.176e-05/0.1401, allocations: 110.8 kB / 419.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.1403, allocations: 133.8 kB / 419.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.1403, allocations: 25.7 kB / 419.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.124e-05/0.1404, allocations: 92.08 kB / 419.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.1404, allocations: 11.94 kB / 419.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/0.1404, allocations: 25.67 kB / 419.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1406, allocations: 330.8 kB / 420.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.313e-05/0.1407, allocations: 19.92 kB / 420.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.883e-05/0.1408, allocations: 67.66 kB / 420.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.1409, allocations: 99.59 kB / 420.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1409, allocations: 0 / 420.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002566/0.1412, allocations: 101.5 kB / 420.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1412, allocations: 4 kB / 420.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1412, allocations: 4 kB / 420.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1412, allocations: 0 / 420.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.299e-05/0.1413, allocations: 28.2 kB / 420.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.1413, allocations: 4 kB / 420.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.721e-05/0.1414, allocations: 11.94 kB / 420.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.1414, allocations: 4 kB / 420.6 MB, free: 8.465 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.000108/0.1416, allocations: 125.8 kB / 420.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.1417, allocations: 81.52 kB / 420.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.769e-05/0.1417, allocations: 12.72 kB / 420.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1417, allocations: 4 kB / 420.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.1418, allocations: 0 / 420.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.1418, allocations: 7.984 kB / 420.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.142, allocations: 185.5 kB / 421 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.142, allocations: 4 kB / 421 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.494e-05/0.1421, allocations: 19.98 kB / 421 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1421, allocations: 0 / 421 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.1422, allocations: 4 kB / 421 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1422, allocations: 4 kB / 421 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1422, allocations: 0 / 421 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003832/0.1426, allocations: 316.2 kB / 421.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.058e-05/0.1426, allocations: 101 kB / 421.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.1427, allocations: 8 kB / 421.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.209e-05/0.1428, allocations: 0 / 421.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.1428, allocations: 4 kB / 421.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.1428, allocations: 4 kB / 421.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.059e-05/0.1429, allocations: 109.1 kB / 421.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1429, allocations: 0 / 421.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.1432, allocations: 12 kB / 421.6 MB, free: 7.375 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0006675/0.1439, allocations: 0.8463 MB / 422.4 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002018/0.1441, allocations: 71.83 kB / 422.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1441, allocations: 0.5625 kB / 422.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.121e-05/0.1441, allocations: 16 kB / 422.5 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.1446, allocations: 47.94 kB / 422.5 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.1463, allocations: 1.579 MB / 424.1 MB, free: 4.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.1467, allocations: 0.7002 MB / 424.8 MB, free: 3.922 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.873e-05/0.1467, allocations: 8.672 kB / 424.8 MB, free: 3.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.28e-05/0.1468, allocations: 27.42 kB / 424.9 MB, free: 3.883 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1468, allocations: 0 / 424.9 MB, free: 3.883 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/0.1706, allocations: 1.882 MB / 426.7 MB, free: 2.145 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.367/8.537, allocations: 0 / 426.7 MB, free: 2.145 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.243133642943576] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'sample2.y', 'hold1.y'] 8.603427164955065 8.618016522 8.478121674 Calling exit ...