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.TickBasedStep.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.001764/0.001764, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001781/0.001781, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.387/1.387, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.TickBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",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.001888/0.001888, allocations: 76.75 kB / 378.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2806, allocations: 53.36 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003635/0.2842, allocations: 1.487 MB / 433.4 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000236/0.2845, allocations: 31.86 kB / 433.4 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.161e-05/0.2845, allocations: 0 / 433.4 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.991e-05/0.2846, allocations: 3.938 kB / 433.4 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.464e-05/0.2846, allocations: 0 / 433.4 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.285, allocations: 31.84 kB / 433.5 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.2851, allocations: 23.98 kB / 433.5 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.2852, allocations: 15.92 kB / 433.5 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.346e-05/0.2852, allocations: 11.98 kB / 433.5 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.636e-05/0.2853, allocations: 15.88 kB / 433.5 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.2853, allocations: 4 kB / 433.5 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.978e-06/0.2853, allocations: 4 kB / 433.6 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.855e-05/0.2854, allocations: 11.92 kB / 433.6 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.164e-05/0.2854, allocations: 11.94 kB / 433.6 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.2855, allocations: 29.02 kB / 433.6 MB, free: 5.211 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.2855, allocations: 0 / 433.6 MB, free: 5.211 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2855, allocations: 0 / 433.6 MB, free: 5.211 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.2855, allocations: 0 / 433.6 MB, free: 5.211 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005306/0.2861, allocations: 273.9 kB / 433.9 MB, free: 4.914 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.2861, allocations: 12.03 kB / 433.9 MB, free: 4.902 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.714e-05/0.2862, allocations: 38.73 kB / 433.9 MB, free: 4.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.2862, allocations: 4.891 kB / 433.9 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.2865, allocations: 122.5 kB / 434 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.2865, allocations: 384 / 434 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.2865, allocations: 8.375 kB / 434.1 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004315/0.2869, allocations: 119.8 kB / 434.2 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.287, allocations: 7.938 kB / 434.2 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.287, allocations: 0 / 434.2 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.287, allocations: 0 / 434.2 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.2871, allocations: 23.97 kB / 434.2 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001853/0.2873, allocations: 128.8 kB / 434.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.2875, allocations: 46.55 kB / 434.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.2876, allocations: 40.83 kB / 434.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.2876, allocations: 4 kB / 434.4 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.2877, allocations: 38.56 kB / 434.5 MB, free: 4.223 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.2877, allocations: 0 / 434.5 MB, free: 4.223 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003622/0.288, allocations: 85.55 kB / 434.5 MB, free: 4.133 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.582e-05/0.2881, allocations: 51.41 kB / 434.6 MB, free: 4.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.2882, allocations: 105.8 kB / 434.7 MB, free: 3.957 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.2882, allocations: 29.64 kB / 434.7 MB, free: 3.922 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.194e-05/0.2883, allocations: 84.14 kB / 434.8 MB, free: 3.836 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.2883, allocations: 8 kB / 434.8 MB, free: 3.828 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.475e-05/0.2884, allocations: 13.72 kB / 434.8 MB, free: 3.809 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.2886, allocations: 318.8 kB / 435.1 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.259e-05/0.2886, allocations: 11.94 kB / 435.1 MB, free: 3.477 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.229e-05/0.2886, allocations: 23.44 kB / 435.2 MB, free: 3.441 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.041e-05/0.2887, allocations: 43.38 kB / 435.2 MB, free: 3.387 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2887, allocations: 0 / 435.2 MB, free: 3.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001333/0.2888, allocations: 65.52 kB / 435.3 MB, free: 3.316 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.2889, allocations: 7.938 kB / 435.3 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2889, allocations: 0 / 435.3 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.2889, allocations: 4.125 kB / 435.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.118e-05/0.289, allocations: 11.98 kB / 435.3 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.289, allocations: 4 kB / 435.3 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.97e-05/0.289, allocations: 0 / 435.3 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-06/0.289, allocations: 4 kB / 435.3 MB, free: 3.285 MB / 334.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: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001105/0.2891, allocations: 117.8 kB / 435.4 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/0.2893, allocations: 65.61 kB / 435.5 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.209e-05/0.2893, allocations: 4 kB / 435.5 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.2894, allocations: 0 / 435.5 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.2894, allocations: 4 kB / 435.5 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.2894, allocations: 7.984 kB / 435.5 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.2895, allocations: 128.7 kB / 435.6 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2895, allocations: 0 / 435.6 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.496e-05/0.2896, allocations: 11.98 kB / 435.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.2896, allocations: 3.938 kB / 435.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.2896, allocations: 0 / 435.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2896, allocations: 384 / 435.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.2896, allocations: 7.922 kB / 435.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.2898, allocations: 89.11 kB / 435.7 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.034e-05/0.2898, allocations: 15.98 kB / 435.8 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.2899, allocations: 3.938 kB / 435.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.258e-05/0.2899, allocations: 4 kB / 435.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-06/0.2899, allocations: 0 / 435.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.2899, allocations: 0 / 435.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.057e-05/0.29, allocations: 87.27 kB / 435.8 MB, free: 2.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.29, allocations: 4 kB / 435.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003051/0.2903, allocations: 4 kB / 435.9 MB, free: 2.652 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0008119/0.2911, allocations: 0.6517 MB / 436.5 MB, free: 1.973 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.2913, allocations: 39.84 kB / 436.5 MB, free: 1.934 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2913, allocations: 3.938 kB / 436.5 MB, free: 1.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.51e-07/0.2913, allocations: 0 / 436.5 MB, free: 1.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.2917, allocations: 26.02 kB / 436.6 MB, free: 1.906 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.2931, allocations: 1.18 MB / 437.8 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.2935, allocations: 0.6807 MB / 438.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.64e-05/0.2935, allocations: 4 kB / 438.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.195e-05/0.2936, allocations: 19.42 kB / 438.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of SimCode: time 7.12e-07/0.2936, allocations: 0 / 438.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.3195, allocations: 1.385 MB / 439.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.551/7.871, allocations: 14.17 kB / 439.9 MB, free: 14.59 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.224232380278409] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 7.941143553704023 7.96639748 7.676047244 Calling exit ...