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.AssignClock.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.001885/0.001885, allocations: 109 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.002334/0.002334, allocations: 213.6 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.437/1.437, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.AssignClock,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",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.003017/0.003017, allocations: 68.53 kB / 378.6 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2906, allocations: 53.37 MB / 431.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002283/0.2929, allocations: 0.9638 MB / 432.9 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003522/0.2933, allocations: 123.5 kB / 433 MB, free: 5.836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.928e-05/0.2934, allocations: 0 / 433 MB, free: 5.836 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.48e-05/0.2934, allocations: 3.938 kB / 433 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.2935, allocations: 23.73 kB / 433 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.2938, allocations: 35.97 kB / 433.1 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.2939, allocations: 35.92 kB / 433.1 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.294, allocations: 26.2 kB / 433.1 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.528e-05/0.294, allocations: 15.92 kB / 433.2 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.834e-05/0.2941, allocations: 23.86 kB / 433.2 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.2941, allocations: 4 kB / 433.2 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.158e-05/0.2941, allocations: 4 kB / 433.2 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.387e-05/0.2941, allocations: 11.94 kB / 433.2 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.2942, allocations: 31.8 kB / 433.2 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.2943, allocations: 51.69 kB / 433.3 MB, free: 5.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2943, allocations: 0 / 433.3 MB, free: 5.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2943, allocations: 4 kB / 433.3 MB, free: 5.566 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.2943, allocations: 3.984 kB / 433.3 MB, free: 5.562 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004325/0.2948, allocations: 302 kB / 433.6 MB, free: 5.238 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.2948, allocations: 8.031 kB / 433.6 MB, free: 5.23 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.188e-05/0.2948, allocations: 30.75 kB / 433.6 MB, free: 5.191 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.791e-05/0.2949, allocations: 12.89 kB / 433.6 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.2951, allocations: 130.4 kB / 433.8 MB, free: 5.027 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.2951, allocations: 20.3 kB / 433.8 MB, free: 5.008 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.2951, allocations: 4.375 kB / 433.8 MB, free: 5.004 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.2954, allocations: 127.6 kB / 433.9 MB, free: 4.867 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.2954, allocations: 0 / 433.9 MB, free: 4.867 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.2954, allocations: 0 / 433.9 MB, free: 4.867 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.2954, allocations: 0 / 433.9 MB, free: 4.867 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.348e-05/0.2954, allocations: 23.94 kB / 433.9 MB, free: 4.844 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001494/0.2956, allocations: 152.6 kB / 434.1 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.2957, allocations: 54.72 kB / 434.1 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.29e-05/0.2958, allocations: 36.89 kB / 434.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.2958, allocations: 7.938 kB / 434.2 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.2958, allocations: 38.5 kB / 434.2 MB, free: 4.496 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.2958, allocations: 4 kB / 434.2 MB, free: 4.492 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001765/0.296, allocations: 81.64 kB / 434.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.2961, allocations: 59.72 kB / 434.4 MB, free: 4.336 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.2962, allocations: 136.5 kB / 434.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.2962, allocations: 29.7 kB / 434.5 MB, free: 4.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.091e-05/0.2962, allocations: 84.14 kB / 434.6 MB, free: 4.074 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.2963, allocations: 4 kB / 434.6 MB, free: 4.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.2963, allocations: 21.7 kB / 434.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.2964, allocations: 326.8 kB / 434.9 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.18e-05/0.2964, allocations: 11.94 kB / 435 MB, free: 3.703 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.699e-05/0.2965, allocations: 58.8 kB / 435 MB, free: 3.621 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.212e-05/0.2966, allocations: 74.75 kB / 435.1 MB, free: 3.523 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.2966, allocations: 4 kB / 435.1 MB, free: 3.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001233/0.2967, allocations: 97.44 kB / 435.2 MB, free: 3.418 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.2967, allocations: 8 kB / 435.2 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.2967, allocations: 0 / 435.2 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.2967, allocations: 4 kB / 435.2 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.514e-05/0.2968, allocations: 19.92 kB / 435.2 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.2968, allocations: 7.984 kB / 435.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.093e-05/0.2969, allocations: 3.953 kB / 435.2 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.2969, allocations: 4.25 kB / 435.2 MB, free: 3.371 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * 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 8.818e-05/0.2969, allocations: 125.8 kB / 435.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.601e-05/0.297, allocations: 81.72 kB / 435.4 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.4e-05/0.2971, allocations: 12.72 kB / 435.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.2971, allocations: 0 / 435.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.2971, allocations: 0 / 435.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.2971, allocations: 7.984 kB / 435.5 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.2972, allocations: 140.7 kB / 435.6 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.2972, allocations: 3.984 kB / 435.6 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.615e-05/0.2972, allocations: 15.94 kB / 435.6 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2973, allocations: 7.984 kB / 435.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.2973, allocations: 0 / 435.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2973, allocations: 0 / 435.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2973, allocations: 0 / 435.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.2974, allocations: 101 kB / 435.7 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.743e-05/0.2974, allocations: 23.88 kB / 435.7 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.2974, allocations: 0 / 435.7 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.688e-05/0.2974, allocations: 0 / 435.7 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-06/0.2974, allocations: 8 kB / 435.7 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.2975, allocations: 0 / 435.7 MB, free: 2.773 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.385e-05/0.2975, allocations: 106.2 kB / 435.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2975, allocations: 0 / 435.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001907/0.2977, allocations: 12 kB / 435.9 MB, free: 2.66 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0004665/0.2982, allocations: 0.6595 MB / 436.5 MB, free: 1.973 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001137/0.2983, allocations: 47.86 kB / 436.6 MB, free: 1.926 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2983, allocations: 3.938 kB / 436.6 MB, free: 1.922 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.81e-07/0.2983, allocations: 0 / 436.6 MB, free: 1.922 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.2986, allocations: 43.88 kB / 436.6 MB, free: 1.879 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.2997, allocations: 1.345 MB / 438 MB, free: 416 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.3, allocations: 0.6963 MB / 438.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.389e-05/0.3, allocations: 7.953 kB / 438.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.3001, allocations: 19.44 kB / 438.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3001, allocations: 0 / 438.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.3235, allocations: 1.784 MB / 440.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.809/8.132, allocations: 4 kB / 440.5 MB, free: 13.96 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79641e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.540842928923666] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 8.203177312854677 8.225481524 7.926448276 Calling exit ...