Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001639/0.001639, 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.001971/0.001971, allocations: 212.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.401/1.401, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.IntegerSignals.AssignClock,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.001881/0.001881, allocations: 68.55 kB / 378.5 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2631, allocations: 53.38 MB / 431.9 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002195/0.2653, allocations: 0.8658 MB / 432.8 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003795/0.2656, allocations: 119.6 kB / 432.9 MB, free: 5.871 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.42e-05/0.2657, allocations: 3.938 kB / 432.9 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.2658, allocations: 11.92 kB / 432.9 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.2659, allocations: 7.938 kB / 432.9 MB, free: 5.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.2662, allocations: 43.14 kB / 433 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.2663, allocations: 39.86 kB / 433 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.2664, allocations: 26.09 kB / 433 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.895e-05/0.2664, allocations: 15.92 kB / 433 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.856e-05/0.2665, allocations: 23.91 kB / 433.1 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.2665, allocations: 4 kB / 433.1 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.266e-05/0.2666, allocations: 4 kB / 433.1 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.61e-05/0.2666, allocations: 15.92 kB / 433.1 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.715e-05/0.2666, allocations: 31.69 kB / 433.1 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.2668, allocations: 63.67 kB / 433.2 MB, free: 5.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.565e-06/0.2668, allocations: 4 kB / 433.2 MB, free: 5.586 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2668, allocations: 0 / 433.2 MB, free: 5.586 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.2668, allocations: 0 / 433.2 MB, free: 5.586 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.0004792/0.2673, allocations: 294.1 kB / 433.5 MB, free: 5.266 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.2673, allocations: 12.03 kB / 433.5 MB, free: 5.254 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.94e-05/0.2674, allocations: 38.73 kB / 433.5 MB, free: 5.207 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.2674, allocations: 12.84 kB / 433.5 MB, free: 5.195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.2676, allocations: 138.4 kB / 433.7 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.2676, allocations: 4.359 kB / 433.7 MB, free: 5.031 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.2676, allocations: 12.31 kB / 433.7 MB, free: 5.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.2679, allocations: 147.7 kB / 433.8 MB, free: 4.863 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.2679, allocations: 3.938 kB / 433.8 MB, free: 4.859 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.2679, allocations: 4 kB / 433.8 MB, free: 4.855 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.2679, allocations: 0 / 433.8 MB, free: 4.855 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.899e-05/0.268, allocations: 23.92 kB / 433.9 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001603/0.2682, allocations: 144.7 kB / 434 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.2683, allocations: 74.69 kB / 434.1 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.068e-05/0.2684, allocations: 44.89 kB / 434.1 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.2684, allocations: 0 / 434.1 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.2684, allocations: 38.5 kB / 434.2 MB, free: 4.473 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 7.71e-07/0.2684, allocations: 0 / 434.2 MB, free: 4.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002107/0.2686, allocations: 101.6 kB / 434.3 MB, free: 4.367 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.2687, allocations: 59.39 kB / 434.3 MB, free: 4.297 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.2688, allocations: 144.8 kB / 434.5 MB, free: 4.148 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.2688, allocations: 25.7 kB / 434.5 MB, free: 4.117 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/0.2689, allocations: 84.14 kB / 434.6 MB, free: 4.031 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.2689, allocations: 15.88 kB / 434.6 MB, free: 4.016 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.471e-05/0.269, allocations: 25.72 kB / 434.6 MB, free: 3.984 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.2691, allocations: 318.8 kB / 434.9 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.362e-05/0.2691, allocations: 12 kB / 434.9 MB, free: 3.652 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.756e-05/0.2692, allocations: 62.8 kB / 435 MB, free: 3.566 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.932e-05/0.2693, allocations: 78.73 kB / 435.1 MB, free: 3.465 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2693, allocations: 0 / 435.1 MB, free: 3.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001321/0.2694, allocations: 89.64 kB / 435.1 MB, free: 3.371 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.2694, allocations: 11.94 kB / 435.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.2694, allocations: 0 / 435.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.2694, allocations: 4 kB / 435.2 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.558e-05/0.2695, allocations: 19.92 kB / 435.2 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.2695, allocations: 4 kB / 435.2 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.301e-05/0.2696, allocations: 7.938 kB / 435.2 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.2696, allocations: 4 kB / 435.2 MB, free: 3.32 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: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * 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 0.0001062/0.2697, allocations: 130 kB / 435.3 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.2698, allocations: 85.66 kB / 435.4 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.704e-05/0.2698, allocations: 12.72 kB / 435.4 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.2698, allocations: 0 / 435.4 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2698, allocations: 0 / 435.4 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.2698, allocations: 8.172 kB / 435.4 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.27, allocations: 144.7 kB / 435.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.27, allocations: 3.938 kB / 435.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.308e-05/0.27, allocations: 15.98 kB / 435.6 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.27, allocations: 3.938 kB / 435.6 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-06/0.27, allocations: 4 kB / 435.6 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.27, allocations: 4 kB / 435.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.27, allocations: 0 / 435.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.2702, allocations: 109 kB / 435.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.177e-05/0.2702, allocations: 23.83 kB / 435.7 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.2702, allocations: 0 / 435.7 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.328e-05/0.2703, allocations: 3.984 kB / 435.7 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-06/0.2703, allocations: 3.938 kB / 435.7 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.2703, allocations: 12 kB / 435.8 MB, free: 2.688 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.389e-05/0.2703, allocations: 103.3 kB / 435.9 MB, free: 2.586 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2703, allocations: 0 / 435.9 MB, free: 2.586 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001972/0.2705, allocations: 12 kB / 435.9 MB, free: 2.574 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * 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.0005294/0.2711, allocations: 0.6714 MB / 436.5 MB, free: 1.875 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001328/0.2712, allocations: 55.97 kB / 436.6 MB, free: 1.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2712, allocations: 0 / 436.6 MB, free: 1.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.2712, allocations: 0 / 436.6 MB, free: 1.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.2715, allocations: 54.89 kB / 436.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.2727, allocations: 1.368 MB / 438 MB, free: 284 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.2731, allocations: 0.7002 MB / 438.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.741e-05/0.2731, allocations: 4.656 kB / 438.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.268e-05/0.2731, allocations: 23.42 kB / 438.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2731, allocations: 0 / 438.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02441/0.2975, allocations: 1.854 MB / 440.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.633/7.931, allocations: 15.31 kB / 440.6 MB, free: 13.75 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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_IntegerSignals_AssignClock.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.269862524233758] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 7.9972911910153925 8.011007625 7.74140787 Calling exit ...