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.Hold.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.001379/0.001379, allocations: 122.6 kB / 18.5 MB, free: 4.578 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.001542/0.001542, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.508/1.508, 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.Hold,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",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.001948/0.001948, allocations: 71.83 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1253, allocations: 53.32 MB / 427 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003475/0.1288, allocations: 1.626 MB / 428.6 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.1299, allocations: 0.5764 MB / 429.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.805e-05/0.13, allocations: 4 kB / 429.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.765e-05/0.1301, allocations: 11.86 kB / 429.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.1303, allocations: 11.88 kB / 429.2 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.1306, allocations: 67.81 kB / 429.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.1307, allocations: 55.77 kB / 429.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.1308, allocations: 12 kB / 429.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.131, allocations: 39.78 kB / 429.4 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.957e-05/0.131, allocations: 23.84 kB / 429.4 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.131, allocations: 4 kB / 429.4 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.767e-05/0.1311, allocations: 12 kB / 429.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.857e-05/0.1312, allocations: 11.94 kB / 429.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.519e-05/0.1312, allocations: 31.8 kB / 429.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.1314, allocations: 63.67 kB / 429.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1314, allocations: 4 kB / 429.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1314, allocations: 3.938 kB / 429.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1314, allocations: 0 / 429.6 MB, free: 2.211 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005927/0.132, allocations: 394.9 kB / 430 MB, free: 1.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.132, allocations: 8.031 kB / 430 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.627e-05/0.1321, allocations: 34.75 kB / 430 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.1322, allocations: 20.88 kB / 430 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.1325, allocations: 216.7 kB / 430.2 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.1325, allocations: 384 / 430.2 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.1326, allocations: 15.94 kB / 430.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003299/0.1329, allocations: 126.7 kB / 430.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.1329, allocations: 4 kB / 430.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1329, allocations: 3.984 kB / 430.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.1329, allocations: 4 kB / 430.4 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.608e-05/0.133, allocations: 27.91 kB / 430.4 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000428/0.1334, allocations: 287.5 kB / 430.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.1336, allocations: 98.23 kB / 430.8 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.35e-05/0.1337, allocations: 43.56 kB / 430.8 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.1337, allocations: 7.984 kB / 430.8 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.1337, allocations: 30.56 kB / 430.9 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1337, allocations: 0 / 430.9 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003307/0.1341, allocations: 101.9 kB / 431 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.1342, allocations: 144.4 kB / 431.1 MB, free: 412 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.1343, allocations: 143.7 kB / 431.2 MB, free: 252 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.1344, allocations: 33.64 kB / 431.3 MB, free: 212 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.686e-05/0.1344, allocations: 92.12 kB / 431.4 MB, free: 116 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.1345, allocations: 7.953 kB / 431.4 MB, free: 108 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.1345, allocations: 25.67 kB / 431.4 MB, free: 76 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.1347, allocations: 318.9 kB / 431.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.039e-05/0.1347, allocations: 15.98 kB / 431.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.401e-05/0.1348, allocations: 40.28 kB / 431.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.1349, allocations: 64.22 kB / 431.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1349, allocations: 0 / 431.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000165/0.1351, allocations: 85.5 kB / 431.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1351, allocations: 4 kB / 431.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1351, allocations: 4.156 kB / 431.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.1351, allocations: 4 kB / 431.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.163e-05/0.1352, allocations: 8 kB / 431.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.1352, allocations: 7.938 kB / 431.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.511e-05/0.1353, allocations: 3.984 kB / 431.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.1353, allocations: 8 kB / 431.9 MB, free: 15.48 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (6): * Single equations (assignments): 6 * 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.000104/0.1354, allocations: 125.7 kB / 432.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.196e-05/0.1355, allocations: 53.64 kB / 432.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.739e-05/0.1355, allocations: 15.94 kB / 432.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1355, allocations: 0 / 432.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/0.1355, allocations: 11.92 kB / 432.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1355, allocations: 0 / 432.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.1358, allocations: 177.6 kB / 432.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1358, allocations: 0 / 432.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.991e-05/0.1358, allocations: 19.92 kB / 432.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.1358, allocations: 0 / 432.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.1359, allocations: 7.938 kB / 432.4 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1359, allocations: 128 / 432.4 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.1359, allocations: 7.938 kB / 432.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.1361, allocations: 202 kB / 432.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.097e-05/0.1362, allocations: 101 kB / 432.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.1362, allocations: 0 / 432.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.425e-05/0.1363, allocations: 8 kB / 432.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.1363, allocations: 3.938 kB / 432.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.1363, allocations: 4 kB / 432.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001029/0.1364, allocations: 118.4 kB / 432.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1364, allocations: 0 / 432.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000231/0.1367, allocations: 8 kB / 432.8 MB, free: 14.52 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0005895/0.1372, allocations: 0.7344 MB / 433.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000162/0.1374, allocations: 43.86 kB / 433.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.1374, allocations: 4.312 kB / 433.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.686e-05/0.1375, allocations: 15.98 kB / 433.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.1379, allocations: 35.94 kB / 433.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.1395, allocations: 1.46 MB / 435.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.1398, allocations: 0.6963 MB / 435.8 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.435e-05/0.1398, allocations: 3.984 kB / 435.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/0.1399, allocations: 19.44 kB / 435.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1399, allocations: 0 / 435.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/0.1675, allocations: 1.908 MB / 437.7 MB, free: 9.535 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.258/8.425, allocations: 10.83 kB / 437.7 MB, free: 9.531 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_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_Hold.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.180977709125727] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'hold1.y'] 8.496878275182098 8.689676171 8.555617869 Calling exit ...