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.HoldWithDAeffects2.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.001392/0.001392, allocations: 119.5 kB / 18.51 MB, free: 4.555 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.00165/0.00165, allocations: 205.6 kB / 21.45 MB, free: 1.609 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.612/1.612, allocations: 230.5 MB / 254.8 MB, free: 15.12 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.HoldWithDAeffects2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",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.002011/0.002011, allocations: 75.77 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1356, allocations: 53.33 MB / 427 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003731/0.1393, allocations: 1.877 MB / 428.9 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.1408, allocations: 0.6974 MB / 429.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.1409, allocations: 7.938 kB / 429.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.1411, allocations: 35.66 kB / 429.6 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.1412, allocations: 23.8 kB / 429.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.1416, allocations: 102.2 kB / 429.8 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.1418, allocations: 147.6 kB / 429.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.142, allocations: 45.7 kB / 429.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.1422, allocations: 67.7 kB / 430 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.572e-05/0.1422, allocations: 55.66 kB / 430.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/0.1423, allocations: 8 kB / 430.1 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.798e-05/0.1423, allocations: 16 kB / 430.1 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.671e-05/0.1424, allocations: 31.86 kB / 430.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.302e-05/0.1425, allocations: 63.59 kB / 430.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.1428, allocations: 159.2 kB / 430.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1428, allocations: 0 / 430.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1428, allocations: 0 / 430.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.1428, allocations: 0 / 430.3 MB, free: 1.469 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006986/0.1435, allocations: 458.8 kB / 430.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.1435, allocations: 8.031 kB / 430.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.892e-05/0.1436, allocations: 42.75 kB / 430.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.1438, allocations: 28.83 kB / 430.9 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004241/0.1442, allocations: 252.1 kB / 431.1 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.1442, allocations: 11.94 kB / 431.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.1442, allocations: 8 kB / 431.1 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006218/0.1448, allocations: 298.4 kB / 431.4 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1449, allocations: 0 / 431.4 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.1449, allocations: 0 / 431.4 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.1449, allocations: 4 kB / 431.4 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.1451, allocations: 71.89 kB / 431.5 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005566/0.1457, allocations: 427.4 kB / 431.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005165/0.1462, allocations: 282.1 kB / 432.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.1464, allocations: 108.3 kB / 432.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.1464, allocations: 11.98 kB / 432.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.1465, allocations: 38.56 kB / 432.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.654e-06/0.1465, allocations: 0 / 432.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005992/0.1471, allocations: 225.4 kB / 432.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001617/0.1472, allocations: 196.3 kB / 432.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.1474, allocations: 186.2 kB / 432.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.1475, allocations: 25.7 kB / 433 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.989e-05/0.1475, allocations: 108.4 kB / 433.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.1476, allocations: 12.23 kB / 433.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.23e-05/0.1476, allocations: 41.66 kB / 433.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1478, allocations: 330.8 kB / 433.4 MB, free: 14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.005e-05/0.1479, allocations: 23.98 kB / 433.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.148, allocations: 144.8 kB / 433.6 MB, free: 13.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.1483, allocations: 162.4 kB / 433.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.1483, allocations: 4 kB / 433.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003077/0.1486, allocations: 177.2 kB / 433.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1486, allocations: 8 kB / 434 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.1486, allocations: 4 kB / 434 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.1486, allocations: 4.531 kB / 434 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.1488, allocations: 35.92 kB / 434 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.1488, allocations: 15.92 kB / 434 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.1489, allocations: 19.89 kB / 434 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.1489, allocations: 11.94 kB / 434 MB, free: 13.29 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001332/0.149, allocations: 130.4 kB / 434.2 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003011/0.1493, allocations: 149.4 kB / 434.3 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.964e-05/0.1494, allocations: 21.41 kB / 434.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.1494, allocations: 12.02 kB / 434.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.1494, allocations: 7.938 kB / 434.4 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1494, allocations: 3.938 kB / 434.4 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.1497, allocations: 217.5 kB / 434.6 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1497, allocations: 0 / 434.6 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.1499, allocations: 39.97 kB / 434.6 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.1499, allocations: 4 kB / 434.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.1499, allocations: 0 / 434.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.1499, allocations: 4 kB / 434.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1499, allocations: 3.938 kB / 434.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004723/0.1504, allocations: 367.3 kB / 435 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.1505, allocations: 116.9 kB / 435.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.1505, allocations: 4 kB / 435.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.1507, allocations: 19.98 kB / 435.1 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.1507, allocations: 7.938 kB / 435.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.1507, allocations: 7.938 kB / 435.1 MB, free: 12.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.1509, allocations: 140.3 kB / 435.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1509, allocations: 0 / 435.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000331/0.1512, allocations: 27.95 kB / 435.3 MB, free: 11.92 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0009486/0.1522, allocations: 0.9562 MB / 436.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003103/0.1525, allocations: 115.8 kB / 436.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1525, allocations: 3.938 kB / 436.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.898e-05/0.1525, allocations: 13.05 kB / 436.4 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006977/0.1532, allocations: 104.1 kB / 436.5 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/0.1557, allocations: 2.078 MB / 438.6 MB, free: 8.418 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.1561, allocations: 0.728 MB / 439.3 MB, free: 7.664 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.082e-05/0.1562, allocations: 17.53 kB / 439.3 MB, free: 7.648 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.298e-05/0.1563, allocations: 43.42 kB / 439.4 MB, free: 7.605 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1563, allocations: 4 kB / 439.4 MB, free: 7.602 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/0.1863, allocations: 3.526 MB / 442.9 MB, free: 4.242 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.137/8.323, allocations: 11.86 kB / 442.9 MB, free: 4.23 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_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_HoldWithDAeffects2.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.28601616807282] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'hold1.y', '// shiftSample1.y'] 8.395615661982447 8.597265458 8.452210265 Calling exit ...