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.ShiftSample.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.001799/0.001799, allocations: 117.9 kB / 18.5 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.002303/0.002303, allocations: 214.5 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.694/1.694, 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.ShiftSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",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.002043/0.002043, allocations: 71.97 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1225, allocations: 53.33 MB / 427 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.00357/0.1261, allocations: 1.595 MB / 428.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.1274, allocations: 0.5571 MB / 429.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.1275, allocations: 7.938 kB / 429.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.396e-05/0.1275, allocations: 7.922 kB / 429.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000156/0.1277, allocations: 19.81 kB / 429.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003815/0.1281, allocations: 59.8 kB / 429.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.1282, allocations: 47.8 kB / 429.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.1283, allocations: 12.17 kB / 429.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.1285, allocations: 35.84 kB / 429.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.589e-05/0.1285, allocations: 23.86 kB / 429.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.1285, allocations: 8 kB / 429.4 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.107e-05/0.1286, allocations: 4 kB / 429.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.932e-05/0.1286, allocations: 15.92 kB / 429.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.141e-05/0.1287, allocations: 23.81 kB / 429.4 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.1289, allocations: 63.67 kB / 429.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.1289, allocations: 0 / 429.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1289, allocations: 0 / 429.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1289, allocations: 0 / 429.5 MB, free: 2.273 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005704/0.1294, allocations: 387 kB / 429.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.1295, allocations: 12.03 kB / 429.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.144e-05/0.1295, allocations: 34.73 kB / 429.9 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.1297, allocations: 16.89 kB / 429.9 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.13, allocations: 211.3 kB / 430.1 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.13, allocations: 8.125 kB / 430.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.13, allocations: 4 kB / 430.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.1303, allocations: 113.9 kB / 430.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1303, allocations: 0 / 430.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.1303, allocations: 0 / 430.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1303, allocations: 4 kB / 430.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.572e-05/0.1304, allocations: 23.92 kB / 430.3 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.1308, allocations: 278.6 kB / 430.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.131, allocations: 63.8 kB / 430.6 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.189e-05/0.131, allocations: 34.62 kB / 430.7 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.1311, allocations: 4 kB / 430.7 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.1311, allocations: 34.5 kB / 430.7 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.1311, allocations: 0 / 430.7 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003251/0.1314, allocations: 97.84 kB / 430.8 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.402e-05/0.1315, allocations: 102.8 kB / 430.9 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.1317, allocations: 141.8 kB / 431 MB, free: 492 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.1317, allocations: 29.7 kB / 431.1 MB, free: 456 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.54e-05/0.1317, allocations: 96.06 kB / 431.2 MB, free: 356 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.1318, allocations: 0 / 431.2 MB, free: 356 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.707e-05/0.1318, allocations: 21.67 kB / 431.2 MB, free: 328 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.132, allocations: 326.9 kB / 431.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.538e-05/0.1321, allocations: 4 kB / 431.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.105e-05/0.1321, allocations: 35.42 kB / 431.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.1322, allocations: 55.23 kB / 431.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1322, allocations: 4 kB / 431.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001458/0.1324, allocations: 69.61 kB / 431.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.1324, allocations: 4 kB / 431.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1324, allocations: 0 / 431.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.1324, allocations: 4 kB / 431.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.608e-05/0.1325, allocations: 8.109 kB / 431.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.1325, allocations: 15.88 kB / 431.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.121e-05/0.1326, allocations: 0 / 431.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.1326, allocations: 4 kB / 431.7 MB, free: 15.76 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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.0001117/0.1327, allocations: 117.8 kB / 431.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.294e-05/0.1328, allocations: 57.59 kB / 431.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.942e-05/0.1328, allocations: 11.88 kB / 431.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1328, allocations: 3.938 kB / 431.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/0.1328, allocations: 11.98 kB / 431.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.062e-05/0.1329, allocations: 4 kB / 431.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.1331, allocations: 173.6 kB / 432.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1331, allocations: 0 / 432.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.418e-05/0.1331, allocations: 12.08 kB / 432.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.1331, allocations: 3.984 kB / 432.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.1331, allocations: 4 kB / 432.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1331, allocations: 0 / 432.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1331, allocations: 3.938 kB / 432.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.1334, allocations: 185.1 kB / 432.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.993e-05/0.1335, allocations: 89.05 kB / 432.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.1335, allocations: 0 / 432.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.34e-05/0.1336, allocations: 8 kB / 432.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.1336, allocations: 7.922 kB / 432.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.1336, allocations: 4 kB / 432.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.262e-05/0.1337, allocations: 108.6 kB / 432.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1337, allocations: 0 / 432.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.1339, allocations: 8 kB / 432.5 MB, free: 14.85 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 (4): * Single equations (assignments): 4 * 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.0005608/0.1345, allocations: 0.7102 MB / 433.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000147/0.1346, allocations: 31.98 kB / 433.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1346, allocations: 0 / 433.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.806e-05/0.1347, allocations: 11.92 kB / 433.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.1351, allocations: 45.05 kB / 433.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.1366, allocations: 1.402 MB / 434.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.137, allocations: 0.6963 MB / 435.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.091e-05/0.1371, allocations: 7.984 kB / 435.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.2e-05/0.1371, allocations: 11.44 kB / 435.4 MB, free: 11.78 MB / 366.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1371, allocations: 0 / 435.4 MB, free: 11.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0259/0.163, allocations: 1.76 MB / 437.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.088/8.251, allocations: 7.938 kB / 437.2 MB, free: 10.15 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79319e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.287193764001131] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y'] 8.32018383173272 8.534008026 8.401817707 Calling exit ...