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.001389/0.001389, allocations: 118.2 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.001484/0.001484, allocations: 211.3 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.569/1.569, allocations: 227.7 MB / 251.9 MB, free: 15.88 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.001974/0.001974, allocations: 71.81 kB / 365.2 MB, free: 224 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1253, allocations: 50.54 MB / 415.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003644/0.129, allocations: 1.868 MB / 417.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.1306, allocations: 0.6857 MB / 418.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.1308, allocations: 4 kB / 418.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.131, allocations: 27.73 kB / 418.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.1311, allocations: 31.72 kB / 418.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004697/0.1316, allocations: 106.4 kB / 418.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002375/0.1318, allocations: 143.6 kB / 418.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.132, allocations: 65.69 kB / 418.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.1322, allocations: 63.7 kB / 418.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.1323, allocations: 47.72 kB / 418.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.1324, allocations: 8 kB / 418.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.203e-05/0.1324, allocations: 20 kB / 418.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.143e-05/0.1325, allocations: 39.83 kB / 418.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.303e-05/0.1326, allocations: 63.55 kB / 418.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.1329, allocations: 151.2 kB / 419.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1329, allocations: 0 / 419.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1329, allocations: 0 / 419.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.1329, allocations: 0 / 419.1 MB, free: 10.3 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.0007195/0.1336, allocations: 454.8 kB / 419.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.1337, allocations: 8.031 kB / 419.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.101e-05/0.1338, allocations: 50.73 kB / 419.6 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.134, allocations: 28.83 kB / 419.6 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.1344, allocations: 252.1 kB / 419.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.1344, allocations: 7.938 kB / 419.9 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.1344, allocations: 8 kB / 419.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006473/0.1351, allocations: 286.3 kB / 420.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1351, allocations: 7.938 kB / 420.2 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.1351, allocations: 0 / 420.2 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1351, allocations: 4 kB / 420.2 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002415/0.1354, allocations: 75.88 kB / 420.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005764/0.1359, allocations: 427.4 kB / 420.7 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005299/0.1365, allocations: 298.1 kB / 421 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.1367, allocations: 108.3 kB / 421.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.1368, allocations: 4 kB / 421.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.546e-05/0.1368, allocations: 38.5 kB / 421.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.1368, allocations: 0 / 421.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006197/0.1374, allocations: 225.6 kB / 421.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001478/0.1376, allocations: 199.9 kB / 421.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.1378, allocations: 182.2 kB / 421.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.1378, allocations: 29.7 kB / 421.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.953e-05/0.1379, allocations: 100.5 kB / 421.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.138, allocations: 23.92 kB / 421.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.2e-05/0.138, allocations: 37.66 kB / 421.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1382, allocations: 330.9 kB / 422.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.044e-05/0.1383, allocations: 23.92 kB / 422.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.1384, allocations: 135.4 kB / 422.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.1387, allocations: 174.4 kB / 422.5 MB, free: 6.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1387, allocations: 0 / 422.5 MB, free: 6.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003019/0.139, allocations: 177.2 kB / 422.7 MB, free: 6.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.139, allocations: 10.34 kB / 422.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.139, allocations: 4.188 kB / 422.7 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.1391, allocations: 4 kB / 422.7 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.1392, allocations: 47.91 kB / 422.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/0.1392, allocations: 12.41 kB / 422.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.1394, allocations: 27.88 kB / 422.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.1394, allocations: 8 kB / 422.8 MB, free: 6.098 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: 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.0001377/0.1395, allocations: 137.8 kB / 422.9 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003019/0.1398, allocations: 141.9 kB / 423.1 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.114e-05/0.1399, allocations: 21.39 kB / 423.1 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.1399, allocations: 4 kB / 423.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.1399, allocations: 3.938 kB / 423.1 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.1399, allocations: 8.031 kB / 423.1 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003093/0.1403, allocations: 221.5 kB / 423.3 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1403, allocations: 4 kB / 423.3 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.1404, allocations: 31.98 kB / 423.4 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.1404, allocations: 0 / 423.4 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.1405, allocations: 15.92 kB / 423.4 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1405, allocations: 0 / 423.4 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.1405, allocations: 7.938 kB / 423.4 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004478/0.1409, allocations: 357.3 kB / 423.7 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.141, allocations: 108.9 kB / 423.9 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.1411, allocations: 4 kB / 423.9 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.1412, allocations: 19.98 kB / 423.9 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.1413, allocations: 7.875 kB / 423.9 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.1413, allocations: 7.984 kB / 423.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001237/0.1414, allocations: 136.3 kB / 424 MB, free: 4.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1414, allocations: 3.938 kB / 424 MB, free: 4.766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003316/0.1418, allocations: 23.95 kB / 424.1 MB, free: 4.742 MB / 350.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.0009641/0.1427, allocations: 0.9676 MB / 425 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003126/0.1431, allocations: 122.6 kB / 425.1 MB, free: 3.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1431, allocations: 0 / 425.1 MB, free: 3.625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.517e-05/0.1431, allocations: 11.98 kB / 425.2 MB, free: 3.613 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006889/0.1438, allocations: 107.7 kB / 425.3 MB, free: 3.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/0.1466, allocations: 2.082 MB / 427.3 MB, free: 1.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.147, allocations: 0.7202 MB / 428.1 MB, free: 496 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.742e-05/0.1471, allocations: 29.72 kB / 428.1 MB, free: 468 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.989e-05/0.1472, allocations: 43.42 kB / 428.1 MB, free: 424 kB / 350.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1472, allocations: 0 / 428.1 MB, free: 424 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02768/0.1749, allocations: 3.515 MB / 431.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.441/8.616, allocations: 7.016 kB / 431.7 MB, free: 13.05 MB / 366.1 MB " [Timeout remaining time 651] (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.370019399095327] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'hold1.y', '// shiftSample1.y'] 8.68790230306331 8.715147055 8.577452923 Calling exit ...