Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.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.001721/0.001721, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002083/0.002083, allocations: 212 kB / 24.54 MB, free: 4.016 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.406/1.406, allocations: 230.6 MB / 258.3 MB, free: 8.059 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.ClockSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_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.001911/0.001911, allocations: 64.77 kB / 378.5 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2799, allocations: 53.37 MB / 431.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.002792/0.2827, allocations: 1.578 MB / 433.5 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.2837, allocations: 0.5725 MB / 434.1 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.628e-05/0.2838, allocations: 4 kB / 434.1 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.382e-05/0.2838, allocations: 3.938 kB / 434.1 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.284, allocations: 15.86 kB / 434.1 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.2842, allocations: 63.75 kB / 434.1 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.2844, allocations: 51.78 kB / 434.2 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.049e-05/0.2844, allocations: 12.17 kB / 434.2 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.2846, allocations: 23.92 kB / 434.2 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.616e-05/0.2846, allocations: 27.88 kB / 434.3 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.2846, allocations: 0 / 434.3 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.173e-05/0.2847, allocations: 15.97 kB / 434.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.205e-05/0.2847, allocations: 11.94 kB / 434.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.767e-05/0.2848, allocations: 27.8 kB / 434.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.2849, allocations: 64.47 kB / 434.4 MB, free: 4.391 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2849, allocations: 0 / 434.4 MB, free: 4.391 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2849, allocations: 0 / 434.4 MB, free: 4.391 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.2849, allocations: 3.984 kB / 434.4 MB, free: 4.387 MB / 334.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.0004865/0.2854, allocations: 309.9 kB / 434.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.2854, allocations: 8.031 kB / 434.7 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.697e-05/0.2855, allocations: 34.75 kB / 434.7 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.2856, allocations: 20.88 kB / 434.7 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.2858, allocations: 142.9 kB / 434.9 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.2859, allocations: 8.125 kB / 434.9 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.2859, allocations: 3.984 kB / 434.9 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.2861, allocations: 109 kB / 435 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.2861, allocations: 3.938 kB / 435 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.2861, allocations: 4 kB / 435 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.2862, allocations: 0 / 435 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.58e-05/0.2862, allocations: 15.98 kB / 435 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003076/0.2865, allocations: 232.8 kB / 435.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.2866, allocations: 45.14 kB / 435.3 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.22e-05/0.2867, allocations: 21.77 kB / 435.3 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.2867, allocations: 4 kB / 435.3 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.2868, allocations: 34.56 kB / 435.4 MB, free: 3.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2868, allocations: 0 / 435.4 MB, free: 3.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002323/0.287, allocations: 73.56 kB / 435.4 MB, free: 3.172 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/0.2871, allocations: 81.05 kB / 435.5 MB, free: 3.074 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.2872, allocations: 147.6 kB / 435.7 MB, free: 2.922 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.2872, allocations: 33.89 kB / 435.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.833e-05/0.2873, allocations: 92.12 kB / 435.8 MB, free: 2.789 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.2873, allocations: 7.953 kB / 435.8 MB, free: 2.781 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.2873, allocations: 17.66 kB / 435.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.2874, allocations: 318.8 kB / 436.1 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.778e-05/0.2875, allocations: 4 kB / 436.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.39e-05/0.2875, allocations: 25.7 kB / 436.1 MB, free: 2.402 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.593e-05/0.2876, allocations: 25.77 kB / 436.2 MB, free: 2.371 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.2876, allocations: 4 kB / 436.2 MB, free: 2.367 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001189/0.2877, allocations: 61.58 kB / 436.2 MB, free: 2.301 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.2877, allocations: 6.5 kB / 436.2 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2878, allocations: 0 / 436.2 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.2878, allocations: 64 / 436.2 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.055e-05/0.2878, allocations: 11.98 kB / 436.2 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.2878, allocations: 7.938 kB / 436.3 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.295e-05/0.2879, allocations: 0 / 436.3 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-06/0.2879, allocations: 0 / 436.3 MB, free: 2.277 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001037/0.288, allocations: 121.8 kB / 436.4 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.237e-05/0.2881, allocations: 41.64 kB / 436.4 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.2881, allocations: 7.812 kB / 436.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2881, allocations: 0 / 436.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.2881, allocations: 11.97 kB / 436.4 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2881, allocations: 0 / 436.4 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.2883, allocations: 136.7 kB / 436.6 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2883, allocations: 4 kB / 436.6 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.415e-05/0.2883, allocations: 7.984 kB / 436.6 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.2883, allocations: 0 / 436.6 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.2883, allocations: 0 / 436.6 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2883, allocations: 0 / 436.6 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.2883, allocations: 7.938 kB / 436.6 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.2885, allocations: 164.3 kB / 436.7 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.741e-05/0.2885, allocations: 15.95 kB / 436.8 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.2885, allocations: 0 / 436.8 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.495e-05/0.2886, allocations: 3.984 kB / 436.8 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.703e-05/0.2886, allocations: 7.938 kB / 436.8 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.2886, allocations: 0 / 436.8 MB, free: 1.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.69e-05/0.2887, allocations: 118.3 kB / 436.9 MB, free: 1.566 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2887, allocations: 0 / 436.9 MB, free: 1.566 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002141/0.2889, allocations: 4 kB / 436.9 MB, free: 1.562 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004726/0.2894, allocations: 0.6937 MB / 437.6 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.2895, allocations: 27.92 kB / 437.6 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2895, allocations: 0 / 437.6 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.574e-05/0.2896, allocations: 8 kB / 437.6 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.2899, allocations: 35.77 kB / 437.7 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.2913, allocations: 1.331 MB / 439 MB, free: 15.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.2916, allocations: 0.6885 MB / 439.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.47e-05/0.2916, allocations: 8.094 kB / 439.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.728e-05/0.2917, allocations: 15.44 kB / 439.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of SimCode: time 4.9e-07/0.2917, allocations: 0 / 439.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/0.3154, allocations: 1.648 MB / 441.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.623/7.938, allocations: 11.98 kB / 441.4 MB, free: 13.05 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.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_ClockSignals_ShiftSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.293704837094992] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 8.0183594529517 8.033998748 7.745983211 Calling exit ...