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.FractionalDelay.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.001598/0.001598, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.001694/0.001694, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.558/1.558, allocations: 230.5 MB / 254.7 MB, free: 15.2 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.FractionalDelay,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",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.002809/0.002809, allocations: 71.83 kB / 373.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1291, allocations: 53.31 MB / 426.9 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002963/0.132, allocations: 1.63 MB / 428.5 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.1333, allocations: 0.6154 MB / 429.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.317e-05/0.1333, allocations: 4 kB / 429.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.1335, allocations: 19.86 kB / 429.2 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.971e-05/0.1336, allocations: 11.88 kB / 429.2 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.1339, allocations: 75.78 kB / 429.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.134, allocations: 71.72 kB / 429.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.518e-05/0.1341, allocations: 11.98 kB / 429.3 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.1342, allocations: 39.84 kB / 429.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.085e-05/0.1343, allocations: 27.84 kB / 429.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.1343, allocations: 4 kB / 429.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.688e-05/0.1344, allocations: 12 kB / 429.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.922e-05/0.1344, allocations: 31.84 kB / 429.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.109e-05/0.1345, allocations: 27.81 kB / 429.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.1347, allocations: 79.53 kB / 429.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1347, allocations: 0 / 429.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1347, allocations: 0 / 429.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.1347, allocations: 3.938 kB / 429.5 MB, free: 2.215 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005014/0.1352, allocations: 391 kB / 429.9 MB, free: 1.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.1353, allocations: 8.031 kB / 429.9 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.1353, allocations: 38.73 kB / 430 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.1355, allocations: 20.89 kB / 430 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.1357, allocations: 212.7 kB / 430.2 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.1357, allocations: 4.312 kB / 430.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.1358, allocations: 11.94 kB / 430.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003205/0.1361, allocations: 149.8 kB / 430.4 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.1361, allocations: 0 / 430.4 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.1361, allocations: 4 kB / 430.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1361, allocations: 0 / 430.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.1362, allocations: 31.92 kB / 430.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004239/0.1366, allocations: 282.6 kB / 430.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.1368, allocations: 79.84 kB / 430.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.18e-05/0.1369, allocations: 42.61 kB / 430.8 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.1369, allocations: 4 kB / 430.8 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.1369, allocations: 38.5 kB / 430.8 MB, free: 0.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1369, allocations: 0 / 430.8 MB, free: 0.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003107/0.1373, allocations: 105.5 kB / 430.9 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.1374, allocations: 110.8 kB / 431 MB, free: 476 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.1375, allocations: 154.2 kB / 431.2 MB, free: 308 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.1376, allocations: 29.7 kB / 431.2 MB, free: 272 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/0.1376, allocations: 96.03 kB / 431.3 MB, free: 172 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.1376, allocations: 11.94 kB / 431.3 MB, free: 160 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.1377, allocations: 21.72 kB / 431.4 MB, free: 132 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1378, allocations: 322.8 kB / 431.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.737e-05/0.1379, allocations: 15.98 kB / 431.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.997e-05/0.138, allocations: 69.94 kB / 431.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.1381, allocations: 81.88 kB / 431.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.1381, allocations: 4 kB / 431.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001963/0.1383, allocations: 101.5 kB / 431.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.1383, allocations: 11.94 kB / 431.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1383, allocations: 4.219 kB / 432 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1384, allocations: 4 kB / 432 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.818e-05/0.1384, allocations: 12.23 kB / 432 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.1385, allocations: 7.938 kB / 432 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.796e-05/0.1385, allocations: 19.88 kB / 432 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.1385, allocations: 4 kB / 432 MB, free: 15.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.fractionalDelay.first,fractionalDelay.first) * Number of discrete states: 0 () * Number of clocked states: 2 (fractionalDelay.first,fractionalDelay.u_buffer[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001837/0.1387, allocations: 121.8 kB / 432.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.1389, allocations: 77.53 kB / 432.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.133e-05/0.1389, allocations: 16.33 kB / 432.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1389, allocations: 4 kB / 432.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.1389, allocations: 0 / 432.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.1389, allocations: 3.938 kB / 432.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.1391, allocations: 177.6 kB / 432.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1391, allocations: 0 / 432.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.223e-05/0.1392, allocations: 15.98 kB / 432.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.1392, allocations: 4 kB / 432.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.1392, allocations: 0 / 432.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.1392, allocations: 0 / 432.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1392, allocations: 0 / 432.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.1395, allocations: 209 kB / 432.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.523e-05/0.1396, allocations: 93.05 kB / 432.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.1396, allocations: 4 kB / 432.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.505e-05/0.1397, allocations: 4 kB / 432.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.1397, allocations: 7.922 kB / 432.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.1397, allocations: 8 kB / 432.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.665e-05/0.1398, allocations: 111.2 kB / 432.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1398, allocations: 0 / 432.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.14, allocations: 12 kB / 432.9 MB, free: 14.46 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: 1 (fractionalDelay.first) * Number of discrete states: 0 () * Number of clocked states: 2 (fractionalDelay.u_buffer[1],fractionalDelay.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0007537/0.1408, allocations: 0.7572 MB / 433.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001798/0.141, allocations: 55.84 kB / 433.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.141, allocations: 3.938 kB / 433.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.813e-05/0.141, allocations: 11.98 kB / 433.7 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.1414, allocations: 44.75 kB / 433.7 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.1433, allocations: 1.549 MB / 435.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.1437, allocations: 0.708 MB / 436 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.288e-05/0.1437, allocations: 8.438 kB / 436 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.224e-05/0.1438, allocations: 23.42 kB / 436 MB, free: 11.12 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1438, allocations: 0 / 436 MB, free: 11.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02911/0.1729, allocations: 2.134 MB / 438.1 MB, free: 9.133 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.912/8.085, allocations: 0 / 438.1 MB, free: 9.133 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay_fmu --startTime=0 --stopTime=0.09 --stepSize=1.7939e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.764824231155217] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'fractionalDelay.y'] 8.154801645781845 8.388445016 8.250605492 Calling exit ...