Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001867/0.001867, 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.00204/0.00204, allocations: 211.9 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.429/1.429, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.BooleanSignals.AssignClock,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_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.003328/0.003328, allocations: 72.75 kB / 378.5 MB, free: 3.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2831, allocations: 53.37 MB / 431.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002615/0.2857, allocations: 0.871 MB / 432.8 MB, free: 6.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003751/0.2861, allocations: 115.6 kB / 432.9 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.496e-05/0.2862, allocations: 7.938 kB / 432.9 MB, free: 5.922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.013e-05/0.2863, allocations: 11.92 kB / 432.9 MB, free: 5.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.2864, allocations: 3.938 kB / 432.9 MB, free: 5.906 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.2866, allocations: 35.89 kB / 433 MB, free: 5.871 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.2868, allocations: 43.86 kB / 433 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.2869, allocations: 19.92 kB / 433 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.997e-05/0.2869, allocations: 19.92 kB / 433 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.583e-05/0.287, allocations: 15.92 kB / 433.1 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.287, allocations: 4 kB / 433.1 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-06/0.287, allocations: 0 / 433.1 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.21e-05/0.287, allocations: 15.94 kB / 433.1 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.717e-05/0.2871, allocations: 31.8 kB / 433.1 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.2872, allocations: 59.53 kB / 433.2 MB, free: 5.668 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2872, allocations: 0 / 433.2 MB, free: 5.668 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2872, allocations: 0 / 433.2 MB, free: 5.668 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.2872, allocations: 0 / 433.2 MB, free: 5.668 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.0004438/0.2877, allocations: 291 kB / 433.5 MB, free: 5.355 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.2877, allocations: 8.031 kB / 433.5 MB, free: 5.348 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.249e-05/0.2878, allocations: 42.69 kB / 433.5 MB, free: 5.297 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.703e-05/0.2878, allocations: 8.891 kB / 433.5 MB, free: 5.289 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.2881, allocations: 138.4 kB / 433.6 MB, free: 5.129 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.2881, allocations: 8.359 kB / 433.7 MB, free: 5.121 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.2881, allocations: 8.375 kB / 433.7 MB, free: 5.113 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002865/0.2884, allocations: 131.7 kB / 433.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.2884, allocations: 3.938 kB / 433.8 MB, free: 4.969 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.2884, allocations: 11.98 kB / 433.8 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2884, allocations: 0 / 433.8 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.294e-05/0.2884, allocations: 15.98 kB / 433.8 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/0.2886, allocations: 140.7 kB / 434 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.2888, allocations: 62.66 kB / 434 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.734e-05/0.2888, allocations: 32.89 kB / 434.1 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.2889, allocations: 4 kB / 434.1 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.2889, allocations: 34.56 kB / 434.1 MB, free: 4.609 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.2889, allocations: 0 / 434.1 MB, free: 4.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.000204/0.2891, allocations: 89.56 kB / 434.2 MB, free: 4.516 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/0.2892, allocations: 55.41 kB / 434.2 MB, free: 4.449 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.2893, allocations: 136.5 kB / 434.4 MB, free: 4.309 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.2893, allocations: 29.64 kB / 434.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.793e-05/0.2894, allocations: 88.14 kB / 434.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.2894, allocations: 7.953 kB / 434.5 MB, free: 4.176 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.2895, allocations: 33.7 kB / 434.5 MB, free: 4.137 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.2896, allocations: 318.8 kB / 434.8 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.029e-05/0.2896, allocations: 7.984 kB / 434.8 MB, free: 3.809 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.622e-05/0.2897, allocations: 54.81 kB / 434.9 MB, free: 3.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.537e-05/0.2898, allocations: 82.73 kB / 435 MB, free: 3.625 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.2898, allocations: 4 kB / 435 MB, free: 3.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001341/0.2899, allocations: 89.45 kB / 435.1 MB, free: 3.527 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.2899, allocations: 7.938 kB / 435.1 MB, free: 3.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.29, allocations: 4 kB / 435.1 MB, free: 3.516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.29, allocations: 4 kB / 435.1 MB, free: 3.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.52e-05/0.29, allocations: 0 / 435.1 MB, free: 3.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.29, allocations: 12.55 kB / 435.1 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.039e-05/0.29, allocations: 11.94 kB / 435.1 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.29, allocations: 4 kB / 435.1 MB, free: 3.484 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 (integerConstant.y,xor.y,xor.u2,xor.u1,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.000103/0.2901, allocations: 121.8 kB / 435.2 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.2902, allocations: 81.5 kB / 435.3 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.363e-05/0.2903, allocations: 8.375 kB / 435.3 MB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2903, allocations: 4 kB / 435.3 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2903, allocations: 0 / 435.3 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.2903, allocations: 0 / 435.3 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.2904, allocations: 144.7 kB / 435.5 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2904, allocations: 0 / 435.5 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.455e-05/0.2904, allocations: 3.938 kB / 435.5 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/0.2904, allocations: 7.938 kB / 435.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.2904, allocations: 0 / 435.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2904, allocations: 0 / 435.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2904, allocations: 0 / 435.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.2906, allocations: 97.08 kB / 435.6 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.886e-05/0.2906, allocations: 23.92 kB / 435.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.2906, allocations: 7.938 kB / 435.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.536e-05/0.2906, allocations: 0 / 435.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-06/0.2906, allocations: 0 / 435.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.2906, allocations: 3.984 kB / 435.6 MB, free: 2.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.948e-05/0.2907, allocations: 105.9 kB / 435.7 MB, free: 2.809 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2907, allocations: 0 / 435.7 MB, free: 2.809 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002024/0.2909, allocations: 12 kB / 435.7 MB, free: 2.797 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,xor.u1,xor.u2,xor.y,integerConstant.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.0005235/0.2914, allocations: 0.6592 MB / 436.4 MB, free: 2.109 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001212/0.2916, allocations: 39.92 kB / 436.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2916, allocations: 192 / 436.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.9e-07/0.2916, allocations: 0 / 436.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.2919, allocations: 51.62 kB / 436.5 MB, free: 2.023 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.2931, allocations: 1.325 MB / 437.8 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.2935, allocations: 0.6924 MB / 438.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.087e-05/0.2935, allocations: 7.938 kB / 438.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.2936, allocations: 15.44 kB / 438.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2936, allocations: 4 kB / 438.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02865/0.3222, allocations: 1.744 MB / 440.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.011/8.334, allocations: 19.94 kB / 440.3 MB, free: 14.16 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.603670613840222] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 8.40525273885578 8.419574555 8.129227936 Calling exit ...