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.SubSample.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.002353/0.002353, 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.002568/0.002568, 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.712/1.712, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.SubSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",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.002184/0.002184, allocations: 71.83 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1418, allocations: 53.32 MB / 427 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003429/0.1453, allocations: 1.601 MB / 428.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.1464, allocations: 0.5454 MB / 429.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.735e-05/0.1465, allocations: 3.938 kB / 429.2 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.547e-05/0.1466, allocations: 3.938 kB / 429.2 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.1467, allocations: 11.88 kB / 429.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003769/0.1471, allocations: 67.8 kB / 429.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.1472, allocations: 51.78 kB / 429.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.1474, allocations: 8.188 kB / 429.3 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.1475, allocations: 31.91 kB / 429.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.338e-05/0.1475, allocations: 19.86 kB / 429.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1476, allocations: 4 kB / 429.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.145e-05/0.1476, allocations: 4 kB / 429.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.982e-05/0.1477, allocations: 23.86 kB / 429.4 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.1477, allocations: 23.81 kB / 429.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.1479, allocations: 63.67 kB / 429.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1479, allocations: 4 kB / 429.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1479, allocations: 0 / 429.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1479, allocations: 0 / 429.5 MB, free: 2.293 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005952/0.1485, allocations: 383 kB / 429.8 MB, free: 1.871 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.1485, allocations: 8.031 kB / 429.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.187e-05/0.1486, allocations: 38.75 kB / 429.9 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.1487, allocations: 16.88 kB / 429.9 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.1491, allocations: 211.3 kB / 430.1 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.1491, allocations: 12.06 kB / 430.1 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.1491, allocations: 4 kB / 430.1 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000343/0.1494, allocations: 117.9 kB / 430.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1495, allocations: 0 / 430.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.1495, allocations: 4 kB / 430.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1495, allocations: 3.984 kB / 430.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.115e-05/0.1496, allocations: 19.98 kB / 430.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004199/0.15, allocations: 274.5 kB / 430.5 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.1501, allocations: 71.77 kB / 430.6 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.929e-05/0.1502, allocations: 30.64 kB / 430.6 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.585e-05/0.1502, allocations: 7.922 kB / 430.7 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.1503, allocations: 38.56 kB / 430.7 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.1503, allocations: 0 / 430.7 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004249/0.1507, allocations: 89.45 kB / 430.8 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.1508, allocations: 106.8 kB / 430.9 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.1511, allocations: 150.1 kB / 431 MB, free: 496 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.1511, allocations: 29.7 kB / 431.1 MB, free: 460 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.1512, allocations: 84.14 kB / 431.1 MB, free: 372 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.1512, allocations: 8 kB / 431.1 MB, free: 364 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.1513, allocations: 21.66 kB / 431.2 MB, free: 336 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000224/0.1515, allocations: 314.8 kB / 431.5 MB, free: 12 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.686e-05/0.1516, allocations: 11.98 kB / 431.5 MB, free: 0 / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.1517, allocations: 35.5 kB / 431.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.1518, allocations: 47.36 kB / 431.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1518, allocations: 0 / 431.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000163/0.152, allocations: 73.56 kB / 431.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.152, allocations: 4 kB / 431.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.152, allocations: 4 kB / 431.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.1521, allocations: 0 / 431.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.1522, allocations: 15.92 kB / 431.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.1522, allocations: 3.938 kB / 431.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.018e-05/0.1522, allocations: 4 kB / 431.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.1522, allocations: 0 / 431.7 MB, free: 15.78 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.000134/0.1524, allocations: 129.9 kB / 431.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.394e-05/0.1525, allocations: 53.55 kB / 431.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.257e-05/0.1525, allocations: 15.86 kB / 431.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1525, allocations: 4 kB / 431.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.1525, allocations: 7.938 kB / 431.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1525, allocations: 0 / 431.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.1528, allocations: 169.7 kB / 432 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1528, allocations: 0 / 432 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.43e-05/0.1528, allocations: 11.98 kB / 432.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.1528, allocations: 0 / 432.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.1528, allocations: 4.062 kB / 432.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.1528, allocations: 3.938 kB / 432.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.1528, allocations: 7.938 kB / 432.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.1531, allocations: 173.2 kB / 432.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.865e-05/0.1532, allocations: 93.05 kB / 432.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.1532, allocations: 8 kB / 432.3 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.262e-05/0.1533, allocations: 3.984 kB / 432.3 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.1533, allocations: 3.938 kB / 432.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.1533, allocations: 4 kB / 432.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.1534, allocations: 119.3 kB / 432.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1534, allocations: 0 / 432.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002455/0.1537, allocations: 8 kB / 432.5 MB, free: 14.87 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0006114/0.1543, allocations: 0.7102 MB / 433.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001826/0.1545, allocations: 31.91 kB / 433.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1545, allocations: 256 / 433.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.171e-05/0.1545, allocations: 12 kB / 433.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.1549, allocations: 37.25 kB / 433.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.1568, allocations: 1.401 MB / 434.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.1572, allocations: 0.6924 MB / 435.4 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.769e-05/0.1572, allocations: 12.22 kB / 435.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.416e-05/0.1573, allocations: 11.44 kB / 435.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1573, allocations: 3.938 kB / 435.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03152/0.1888, allocations: 1.719 MB / 437.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/8.253, allocations: 4.062 kB / 437.1 MB, free: 10.22 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_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_SubSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.378710479009897] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'subSample1.y'] 8.324606723152101 8.578588194 8.427680255 Calling exit ...