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.001832/0.001832, 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.002131/0.002131, 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.57/1.57, allocations: 230.5 MB / 254.8 MB, free: 15.1 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.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.002019/0.002019, allocations: 71.83 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1196, allocations: 53.33 MB / 427 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003546/0.1231, allocations: 1.71 MB / 428.7 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005253/0.1236, allocations: 155.5 kB / 428.9 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.1237, allocations: 3.938 kB / 428.9 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.062e-05/0.1238, allocations: 11.92 kB / 428.9 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.124, allocations: 15.88 kB / 428.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.1242, allocations: 39.89 kB / 429 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.1244, allocations: 51.84 kB / 429 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.1245, allocations: 23.97 kB / 429 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.687e-05/0.1245, allocations: 31.86 kB / 429.1 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.119e-05/0.1246, allocations: 27.8 kB / 429.1 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.1246, allocations: 4 kB / 429.1 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.371e-05/0.1246, allocations: 4 kB / 429.1 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.235e-05/0.1247, allocations: 19.92 kB / 429.1 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.57e-05/0.1247, allocations: 35.73 kB / 429.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.1249, allocations: 67.66 kB / 429.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1249, allocations: 0 / 429.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1249, allocations: 3.938 kB / 429.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.1249, allocations: 0 / 429.2 MB, free: 2.559 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.00054/0.1255, allocations: 399 kB / 429.6 MB, free: 2.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.1255, allocations: 8.031 kB / 429.6 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.913e-05/0.1255, allocations: 38.75 kB / 429.6 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.1256, allocations: 8.891 kB / 429.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.1259, allocations: 200.1 kB / 429.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.1259, allocations: 8.375 kB / 429.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.1259, allocations: 4.375 kB / 429.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.1262, allocations: 168.1 kB / 430 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1263, allocations: 3.938 kB / 430 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.1263, allocations: 4 kB / 430 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.1263, allocations: 4 kB / 430 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.1264, allocations: 39.97 kB / 430.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004621/0.1269, allocations: 365.8 kB / 430.4 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.1271, allocations: 107.8 kB / 430.5 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.1272, allocations: 62.81 kB / 430.6 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.1273, allocations: 7.984 kB / 430.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.1273, allocations: 34.5 kB / 430.6 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.1273, allocations: 4 kB / 430.7 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003541/0.1276, allocations: 121.5 kB / 430.8 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.451e-05/0.1277, allocations: 106.8 kB / 430.9 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.1279, allocations: 136 kB / 431 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.1279, allocations: 29.7 kB / 431 MB, free: 484 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.1279, allocations: 96.06 kB / 431.1 MB, free: 384 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.128, allocations: 8.141 kB / 431.1 MB, free: 376 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.691e-05/0.128, allocations: 33.67 kB / 431.2 MB, free: 336 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1282, allocations: 326.8 kB / 431.5 MB, free: 0 / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.937e-05/0.1282, allocations: 11.98 kB / 431.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.525e-05/0.1283, allocations: 67.72 kB / 431.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.1285, allocations: 95.59 kB / 431.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1285, allocations: 0 / 431.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001882/0.1286, allocations: 101.5 kB / 431.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.1287, allocations: 8.266 kB / 431.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.1287, allocations: 8 kB / 431.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1287, allocations: 192 / 431.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.229e-05/0.1288, allocations: 19.94 kB / 431.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.1288, allocations: 11.92 kB / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.299e-05/0.1288, allocations: 11.95 kB / 431.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.1288, allocations: 8 kB / 431.8 MB, free: 15.6 MB / 366.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.0001091/0.1289, allocations: 129.7 kB / 432 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.1291, allocations: 81.56 kB / 432 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.946e-05/0.1291, allocations: 20.69 kB / 432.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1291, allocations: 4 kB / 432.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1291, allocations: 0 / 432.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1291, allocations: 0 / 432.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.1294, allocations: 189.5 kB / 432.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1294, allocations: 0 / 432.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.306e-05/0.1295, allocations: 19.98 kB / 432.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1295, allocations: 0 / 432.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.1295, allocations: 0 / 432.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.1295, allocations: 4 kB / 432.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.1295, allocations: 3.938 kB / 432.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004072/0.1299, allocations: 312.3 kB / 432.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.74e-05/0.13, allocations: 105 kB / 432.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.1301, allocations: 0 / 432.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.905e-05/0.1302, allocations: 8 kB / 432.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.1302, allocations: 0 / 432.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.1302, allocations: 8 kB / 432.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.492e-05/0.1303, allocations: 109.9 kB / 432.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1303, allocations: 3.938 kB / 432.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002799/0.1306, allocations: 8 kB / 432.8 MB, free: 14.51 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 (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.0006885/0.1312, allocations: 0.8421 MB / 433.7 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001976/0.1314, allocations: 64.59 kB / 433.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1314, allocations: 0 / 433.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.023e-05/0.1315, allocations: 15.88 kB / 433.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.132, allocations: 50.17 kB / 433.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.1337, allocations: 1.577 MB / 435.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.1341, allocations: 0.7041 MB / 436.1 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.545e-05/0.1341, allocations: 8.672 kB / 436.1 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.166e-05/0.1342, allocations: 23.42 kB / 436.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of SimCode: time 1.293e-06/0.1342, allocations: 0 / 436.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02559/0.1598, allocations: 1.89 MB / 438 MB, free: 9.277 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.33/8.489, allocations: 11.31 kB / 438 MB, free: 9.27 MB / 366.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.459957098588347] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'sample2.y', 'hold1.y'] 8.557852630969137 8.850980254 8.723080873 Calling exit ...